OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_61/] [or1ksim/] [sim-config.c] - Diff between revs 333 and 335

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 333 Rev 335
Line 291... Line 291...
  {2, "baseaddr",           "=0x%x",       uart_baseaddr, (void *)(&tempUL)},
  {2, "baseaddr",           "=0x%x",       uart_baseaddr, (void *)(&tempUL)},
  {2, "irq",                "=%i",         uart_irq,      (void *)(&tempL)},
  {2, "irq",                "=%i",         uart_irq,      (void *)(&tempL)},
  {2, "jitter",             "=%i",         uart_jitter,   (void *)(&tempL)},
  {2, "jitter",             "=%i",         uart_jitter,   (void *)(&tempL)},
  {2, "rxfile",             "=\"%s\"",     uart_rxfile,   (void *)(&tempS[0])},
  {2, "rxfile",             "=\"%s\"",     uart_rxfile,   (void *)(&tempS[0])},
  {2, "txfile",             "=\"%s\"",     uart_txfile,   (void *)(&tempS[0])},
  {2, "txfile",             "=\"%s\"",     uart_txfile,   (void *)(&tempS[0])},
  {2, "vapi_id",            "=%0x%x",      uart_vapi_id,  (void *)(&tempUL)},
  {2, "vapi_id",            "=0x%x",       uart_vapi_id,  (void *)(&tempUL)},
 
 
  {3, "enabled",            "=%i",         NULL,          (void *)(&config.dmas_enabled)},
  {3, "enabled",            "=%i",         NULL,          (void *)(&config.dmas_enabled)},
  {3, "ndmas",              "=%i",         NULL,          (void *)(&config.ndmas)},
  {3, "ndmas",              "=%i",         NULL,          (void *)(&config.ndmas)},
  {3, "device",             "%i",          change_device, (void *)(&tempL)},
  {3, "device",             "%i",          change_device, (void *)(&tempL)},
  {3, "enddevice",          "",            end_device,    NULL},
  {3, "enddevice",          "",            end_device,    NULL},
  {3, "baseaddr",           "=0x%x",       dma_baseaddr,  (void *)(&tempUL)},
  {3, "baseaddr",           "=0x%x",       dma_baseaddr,  (void *)(&tempUL)},
  {3, "irq",                "=%i",         dma_baseaddr,  (void *)(&tempL)},
  {3, "irq",                "=%i",         dma_baseaddr,  (void *)(&tempL)},
  {3, "vapi_id",            "=%0x%x",      dma_vapi_id,   (void *)(&tempUL)},
  {3, "vapi_id",            "=0x%x",       dma_vapi_id,   (void *)(&tempUL)},
 
 
  {4, "memory_table_file",  "=\"%s\"",     NULL,          (void *)(&config.memory.memory_table_file[0])},
  {4, "memory_table_file",  "=\"%s\"",     NULL,          (void *)(&config.memory.memory_table_file[0])},
  {4, "random_seed",        "=%i",         NULL,          (void *)(&config.memory.random_seed)},
  {4, "random_seed",        "=%i",         NULL,          (void *)(&config.memory.random_seed)},
  {4, "pattern",            "=%i",         NULL,          (void *)(&config.memory.pattern)},
  {4, "pattern",            "=%i",         NULL,          (void *)(&config.memory.pattern)},
  {4, "type",               "=%s ",        memory_type,   (void *)(&tempS[0])},
  {4, "type",               "=%s ",        memory_type,   (void *)(&tempS[0])},
Line 344... Line 344...
  {9, "dma",                "=%i",         eth_dma,       (void *)(&tempL)},
  {9, "dma",                "=%i",         eth_dma,       (void *)(&tempL)},
  {9, "rx_channel",         "=%i",         eth_rx_channel,(void *)(&tempL)},
  {9, "rx_channel",         "=%i",         eth_rx_channel,(void *)(&tempL)},
  {9, "tx_channel",         "=%i",         eth_tx_channel,(void *)(&tempL)},
  {9, "tx_channel",         "=%i",         eth_tx_channel,(void *)(&tempL)},
  {9, "rxfile",             "=\"%s\"",     eth_rxfile,    (void *)(&tempS[0])},
  {9, "rxfile",             "=\"%s\"",     eth_rxfile,    (void *)(&tempS[0])},
  {9, "txfile",             "=\"%s\"",     eth_txfile,    (void *)(&tempS[0])},
  {9, "txfile",             "=\"%s\"",     eth_txfile,    (void *)(&tempS[0])},
  {9, "vapi_id",            "=%0x%x",      eth_vapi_id,   (void *)(&tempUL)},
  {9, "vapi_id",            "=0x%x",       eth_vapi_id,   (void *)(&tempUL)},
 
 
 {10, "enabled",            "=%i",         NULL,          (void *)(&config.tick.enabled)},
 {10, "enabled",            "=%i",         NULL,          (void *)(&config.tick.enabled)},
 {10, "irq",                "=%i",         NULL,          (void *)(&config.tick.irq)},
 {10, "irq",                "=%i",         NULL,          (void *)(&config.tick.irq)},
};
};
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.