csr.csv: add emulation file

This is used to define the emulation target.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2020-03-10 12:50:14 +08:00
parent a1fee3dedf
commit 279e0131c8

169
emulation/csr.csv Normal file
View file

@ -0,0 +1,169 @@
#--------------------------------------------------------------------------------
# Auto-generated by Migen (e2e6c72) & LiteX (18a9d4f) on 2020-02-15 23:31:38
#--------------------------------------------------------------------------------
csr_base,sram_ext,0xf0004000,,
csr_base,ticktimer,0xf0007000,,
csr_base,messible,0xf0006800,,
csr_base,keyboard,0xf0008800,,
csr_base,power,0xf0007800,,
csr_base,info,0xf0003800,,
csr_base,reboot,0xf0002800,,
csr_base,timer0,0xf0002000,,
csr_base,uart_phy,0xf0001000,,
csr_base,gpio,0xf0009000,,
csr_base,trng_osc,0xf000b000,,
csr_base,seed,0xf0009800,,
csr_base,i2c,0xf0005800,,
csr_base,romtest,0xf000a000,,
csr_base,crg,0xf0003000,,
csr_base,btevents,0xf0006000,,
csr_base,spinor,0xf0008000,,
csr_base,audio,0xf000a800,,
csr_base,ctrl,0xf0000000,,
csr_base,uart,0xf0001800,,
csr_base,memlcd,0xf0004800,,
csr_base,com,0xf0005000,,
csr_register,i2c_prescale,0xf0005800,1,rw
csr_register,messible_in,0xf0006800,1,rw
csr_register,i2c_command,0xf0005810,1,rw
csr_register,btevents_ev_pending,0xf0006004,1,rw
csr_register,uart_ev_status,0xf000180c,1,rw
csr_register,i2c_txr,0xf0005808,1,rw
csr_register,info_xadc_drp_write,0xf000384c,1,rw
csr_register,info_platform_platform,0xf000381c,2,ro
csr_register,uart_phy_tuning_word,0xf0001000,1,rw
csr_register,keyboard_row1dat,0xf0008804,1,ro
csr_register,i2c_rxr,0xf000580c,1,ro
csr_register,keyboard_row6dat,0xf0008818,1,ro
csr_register,audio_tx_stat,0xf000a818,1,ro
csr_register,keyboard_rowchange,0xf0008830,1,ro
csr_register,info_xadc_drp_dat_w,0xf0003858,1,rw
csr_register,spinor_ecc_status,0xf0008028,1,ro
csr_register,uart_ev_enable,0xf0001814,1,rw
csr_register,audio_ev_pending,0xf000a804,1,rw
csr_register,messible_out,0xf0006804,1,ro
csr_register,keyboard_row0dat,0xf0008800,1,ro
csr_register,info_xadc_drp_dat_r,0xf000385c,1,ro
csr_register,info_xadc_vccint,0xf0003830,1,ro
csr_register,ticktimer_time,0xf0007004,2,ro
csr_register,keyboard_row7dat,0xf000881c,1,ro
csr_register,info_xadc_drp_enable,0xf0003844,1,rw
csr_register,spinor_command,0xf000800c,1,rw
csr_register,btevents_ev_enable,0xf0006008,1,rw
csr_register,timer0_ev_pending,0xf0002018,1,rw
csr_register,sram_ext_config_status,0xf0004000,1,ro
csr_register,timer0_reload,0xf0002004,1,rw
csr_register,timer0_load,0xf0002000,1,rw
csr_register,info_xadc_vccaux,0xf0003834,1,ro
csr_register,messible_status,0xf0006808,1,ro
csr_register,romtest_data,0xf000a004,1,ro
csr_register,memlcd_ev_enable,0xf0004814,1,rw
csr_register,i2c_control,0xf0005804,1,rw
csr_register,info_git_commit,0xf0003808,5,ro
csr_register,seed_seed,0xf0009800,2,ro
csr_register,info_xadc_temperature,0xf000382c,1,ro
csr_register,reboot_addr,0xf0002804,1,rw
csr_register,timer0_value,0xf0002010,1,ro
csr_register,crg_mmcm_drp_read,0xf0003008,1,rw
csr_register,crg_mmcm_drp_adr,0xf0003014,1,rw
csr_register,spinor_ev_status,0xf0008018,1,rw
csr_register,com_tx,0xf0005000,1,rw
csr_register,gpio_ev_pending,0xf0009018,1,rw
csr_register,crg_mmcm_drp_locked,0xf0003004,1,ro
csr_register,memlcd_Busy,0xf0004804,1,ro
csr_register,info_xadc_eos,0xf0003840,1,ro
csr_register,spinor_sector,0xf0008010,1,rw
csr_register,gpio_intena,0xf000900c,1,ro
csr_register,timer0_update_value,0xf000200c,1,rw
csr_register,gpio_drive,0xf0009008,1,rw
csr_register,uart_txfull,0xf0001804,1,ro
csr_register,trng_osc_ctl,0xf000b000,1,rw
csr_register,spinor_status,0xf0008014,1,ro
csr_register,sram_ext_read_config,0xf0004004,1,rw
csr_register,gpio_intpol,0xf0009010,1,ro
csr_register,keyboard_ev_status,0xf0008824,1,rw
csr_register,audio_tx_ctl,0xf000a814,1,rw
csr_register,spinor_delay_config,0xf0008004,1,rw
csr_register,btevents_ev_status,0xf0006000,1,rw
csr_register,keyboard_row3dat,0xf000880c,1,ro
csr_register,ctrl_scratch,0xf0000004,1,rw
csr_register,i2c_ev_enable,0xf0005820,1,rw
csr_register,spinor_delay_status,0xf0008008,1,ro
csr_register,i2c_ev_pending,0xf000581c,1,rw
csr_register,info_dna_id,0xf0003800,2,ro
csr_register,spinor_ev_enable,0xf0008020,1,rw
csr_register,com_ev_enable,0xf0005018,1,rw
csr_register,gpio_input,0xf0009004,1,ro
csr_register,keyboard_row4dat,0xf0008810,1,ro
csr_register,spinor_ecc_address,0xf0008024,1,ro
csr_register,crg_mmcm_drp_drdy,0xf0003010,1,ro
csr_register,audio_rx_stat,0xf000a810,1,ro
csr_register,romtest_address,0xf000a000,1,rw
csr_register,memlcd_command,0xf0004800,1,rw
csr_register,com_control,0xf0005008,1,rw
csr_register,memlcd_prescaler,0xf0004808,1,rw
csr_register,reboot_ctrl,0xf0002800,1,rw
csr_register,gpio_ev_enable,0xf000901c,1,rw
csr_register,spinor_config,0xf0008000,1,rw
csr_register,ctrl_bus_errors,0xf0000008,1,ro
csr_register,info_xadc_drp_adr,0xf0003854,1,rw
csr_register,timer0_ev_status,0xf0002014,1,rw
csr_register,info_platform_target,0xf0003824,2,ro
csr_register,crg_mmcm_drp_write,0xf000300c,1,rw
csr_register,ctrl_reset,0xf0000000,1,rw
csr_register,keyboard_row8dat,0xf0008820,1,ro
csr_register,uart_ev_pending,0xf0001810,1,rw
csr_register,crg_mmcm_drp_dat_r,0xf000301c,1,ro
csr_register,timer0_ev_enable,0xf000201c,1,rw
csr_register,info_xadc_drp_drdy,0xf0003850,1,ro
csr_register,ticktimer_control,0xf0007000,1,rw
csr_register,gpio_output,0xf0009000,1,rw
csr_register,keyboard_row5dat,0xf0008814,1,ro
csr_register,info_xadc_drp_read,0xf0003848,1,rw
csr_register,info_xadc_eoc,0xf000383c,1,ro
csr_register,uart_rxtx,0xf0001800,1,rw
csr_register,uart_rxempty,0xf0001808,1,ro
csr_register,spinor_ev_pending,0xf000801c,1,rw
csr_register,com_rx,0xf0005004,1,ro
csr_register,i2c_ev_status,0xf0005818,1,rw
csr_register,keyboard_ev_pending,0xf0008828,1,rw
csr_register,com_status,0xf000500c,1,ro
csr_register,info_xadc_vccbram,0xf0003838,1,ro
csr_register,i2c_status,0xf0005814,1,ro
csr_register,trng_osc_rand,0xf000b004,1,ro
csr_register,audio_rx_ctl,0xf000a80c,1,rw
csr_register,com_ev_pending,0xf0005014,1,rw
csr_register,timer0_en,0xf0002008,1,rw
csr_register,keyboard_ev_enable,0xf000882c,1,rw
csr_register,trng_osc_status,0xf000b008,1,ro
csr_register,power_power,0xf0007800,1,rw
csr_register,memlcd_ev_status,0xf000480c,1,rw
csr_register,keyboard_row2dat,0xf0008808,1,ro
csr_register,gpio_ev_status,0xf0009014,1,rw
csr_register,audio_ev_enable,0xf000a808,1,rw
csr_register,com_ev_status,0xf0005010,1,rw
csr_register,crg_mmcm_drp_dat_w,0xf0003018,1,rw
csr_register,memlcd_ev_pending,0xf0004810,1,rw
csr_register,crg_mmcm_drp_reset,0xf0003000,1,rw
csr_register,audio_ev_status,0xf000a800,1,rw
constant,config_cpu_type_vexriscv,None,,
constant,audio_interrupt,6,,
constant,timer0_interrupt,1,,
constant,config_csr_alignment,32,,
constant,config_csr_data_width,32,,
constant,gpio_interrupt,5,,
constant,config_cpu_reset_addr,0,,
constant,i2c_interrupt,2,,
constant,btevents_interrupt,3,,
constant,uart_interrupt,0,,
constant,config_clock_frequency,100000000,,
constant,keyboard_interrupt,4,,
constant,config_cpu_variant_standard,None,,
memory_region,sram_ext,0x40000000,16777216,cached
memory_region,sram,0x10000000,131072,cached
memory_region,memlcd,0xb0000000,23584,cached
memory_region,vexriscv_debug,0xefff0000,256,cached
memory_region,csr,0xf0000000,65536,io
memory_region,audio,0xe0000000,4,io
memory_region,rom,0x00000000,0,cached
memory_region,spiflash,0x20000000,134217728,cached
1 #--------------------------------------------------------------------------------
2 # Auto-generated by Migen (e2e6c72) & LiteX (18a9d4f) on 2020-02-15 23:31:38
3 #--------------------------------------------------------------------------------
4 csr_base,sram_ext,0xf0004000,,
5 csr_base,ticktimer,0xf0007000,,
6 csr_base,messible,0xf0006800,,
7 csr_base,keyboard,0xf0008800,,
8 csr_base,power,0xf0007800,,
9 csr_base,info,0xf0003800,,
10 csr_base,reboot,0xf0002800,,
11 csr_base,timer0,0xf0002000,,
12 csr_base,uart_phy,0xf0001000,,
13 csr_base,gpio,0xf0009000,,
14 csr_base,trng_osc,0xf000b000,,
15 csr_base,seed,0xf0009800,,
16 csr_base,i2c,0xf0005800,,
17 csr_base,romtest,0xf000a000,,
18 csr_base,crg,0xf0003000,,
19 csr_base,btevents,0xf0006000,,
20 csr_base,spinor,0xf0008000,,
21 csr_base,audio,0xf000a800,,
22 csr_base,ctrl,0xf0000000,,
23 csr_base,uart,0xf0001800,,
24 csr_base,memlcd,0xf0004800,,
25 csr_base,com,0xf0005000,,
26 csr_register,i2c_prescale,0xf0005800,1,rw
27 csr_register,messible_in,0xf0006800,1,rw
28 csr_register,i2c_command,0xf0005810,1,rw
29 csr_register,btevents_ev_pending,0xf0006004,1,rw
30 csr_register,uart_ev_status,0xf000180c,1,rw
31 csr_register,i2c_txr,0xf0005808,1,rw
32 csr_register,info_xadc_drp_write,0xf000384c,1,rw
33 csr_register,info_platform_platform,0xf000381c,2,ro
34 csr_register,uart_phy_tuning_word,0xf0001000,1,rw
35 csr_register,keyboard_row1dat,0xf0008804,1,ro
36 csr_register,i2c_rxr,0xf000580c,1,ro
37 csr_register,keyboard_row6dat,0xf0008818,1,ro
38 csr_register,audio_tx_stat,0xf000a818,1,ro
39 csr_register,keyboard_rowchange,0xf0008830,1,ro
40 csr_register,info_xadc_drp_dat_w,0xf0003858,1,rw
41 csr_register,spinor_ecc_status,0xf0008028,1,ro
42 csr_register,uart_ev_enable,0xf0001814,1,rw
43 csr_register,audio_ev_pending,0xf000a804,1,rw
44 csr_register,messible_out,0xf0006804,1,ro
45 csr_register,keyboard_row0dat,0xf0008800,1,ro
46 csr_register,info_xadc_drp_dat_r,0xf000385c,1,ro
47 csr_register,info_xadc_vccint,0xf0003830,1,ro
48 csr_register,ticktimer_time,0xf0007004,2,ro
49 csr_register,keyboard_row7dat,0xf000881c,1,ro
50 csr_register,info_xadc_drp_enable,0xf0003844,1,rw
51 csr_register,spinor_command,0xf000800c,1,rw
52 csr_register,btevents_ev_enable,0xf0006008,1,rw
53 csr_register,timer0_ev_pending,0xf0002018,1,rw
54 csr_register,sram_ext_config_status,0xf0004000,1,ro
55 csr_register,timer0_reload,0xf0002004,1,rw
56 csr_register,timer0_load,0xf0002000,1,rw
57 csr_register,info_xadc_vccaux,0xf0003834,1,ro
58 csr_register,messible_status,0xf0006808,1,ro
59 csr_register,romtest_data,0xf000a004,1,ro
60 csr_register,memlcd_ev_enable,0xf0004814,1,rw
61 csr_register,i2c_control,0xf0005804,1,rw
62 csr_register,info_git_commit,0xf0003808,5,ro
63 csr_register,seed_seed,0xf0009800,2,ro
64 csr_register,info_xadc_temperature,0xf000382c,1,ro
65 csr_register,reboot_addr,0xf0002804,1,rw
66 csr_register,timer0_value,0xf0002010,1,ro
67 csr_register,crg_mmcm_drp_read,0xf0003008,1,rw
68 csr_register,crg_mmcm_drp_adr,0xf0003014,1,rw
69 csr_register,spinor_ev_status,0xf0008018,1,rw
70 csr_register,com_tx,0xf0005000,1,rw
71 csr_register,gpio_ev_pending,0xf0009018,1,rw
72 csr_register,crg_mmcm_drp_locked,0xf0003004,1,ro
73 csr_register,memlcd_Busy,0xf0004804,1,ro
74 csr_register,info_xadc_eos,0xf0003840,1,ro
75 csr_register,spinor_sector,0xf0008010,1,rw
76 csr_register,gpio_intena,0xf000900c,1,ro
77 csr_register,timer0_update_value,0xf000200c,1,rw
78 csr_register,gpio_drive,0xf0009008,1,rw
79 csr_register,uart_txfull,0xf0001804,1,ro
80 csr_register,trng_osc_ctl,0xf000b000,1,rw
81 csr_register,spinor_status,0xf0008014,1,ro
82 csr_register,sram_ext_read_config,0xf0004004,1,rw
83 csr_register,gpio_intpol,0xf0009010,1,ro
84 csr_register,keyboard_ev_status,0xf0008824,1,rw
85 csr_register,audio_tx_ctl,0xf000a814,1,rw
86 csr_register,spinor_delay_config,0xf0008004,1,rw
87 csr_register,btevents_ev_status,0xf0006000,1,rw
88 csr_register,keyboard_row3dat,0xf000880c,1,ro
89 csr_register,ctrl_scratch,0xf0000004,1,rw
90 csr_register,i2c_ev_enable,0xf0005820,1,rw
91 csr_register,spinor_delay_status,0xf0008008,1,ro
92 csr_register,i2c_ev_pending,0xf000581c,1,rw
93 csr_register,info_dna_id,0xf0003800,2,ro
94 csr_register,spinor_ev_enable,0xf0008020,1,rw
95 csr_register,com_ev_enable,0xf0005018,1,rw
96 csr_register,gpio_input,0xf0009004,1,ro
97 csr_register,keyboard_row4dat,0xf0008810,1,ro
98 csr_register,spinor_ecc_address,0xf0008024,1,ro
99 csr_register,crg_mmcm_drp_drdy,0xf0003010,1,ro
100 csr_register,audio_rx_stat,0xf000a810,1,ro
101 csr_register,romtest_address,0xf000a000,1,rw
102 csr_register,memlcd_command,0xf0004800,1,rw
103 csr_register,com_control,0xf0005008,1,rw
104 csr_register,memlcd_prescaler,0xf0004808,1,rw
105 csr_register,reboot_ctrl,0xf0002800,1,rw
106 csr_register,gpio_ev_enable,0xf000901c,1,rw
107 csr_register,spinor_config,0xf0008000,1,rw
108 csr_register,ctrl_bus_errors,0xf0000008,1,ro
109 csr_register,info_xadc_drp_adr,0xf0003854,1,rw
110 csr_register,timer0_ev_status,0xf0002014,1,rw
111 csr_register,info_platform_target,0xf0003824,2,ro
112 csr_register,crg_mmcm_drp_write,0xf000300c,1,rw
113 csr_register,ctrl_reset,0xf0000000,1,rw
114 csr_register,keyboard_row8dat,0xf0008820,1,ro
115 csr_register,uart_ev_pending,0xf0001810,1,rw
116 csr_register,crg_mmcm_drp_dat_r,0xf000301c,1,ro
117 csr_register,timer0_ev_enable,0xf000201c,1,rw
118 csr_register,info_xadc_drp_drdy,0xf0003850,1,ro
119 csr_register,ticktimer_control,0xf0007000,1,rw
120 csr_register,gpio_output,0xf0009000,1,rw
121 csr_register,keyboard_row5dat,0xf0008814,1,ro
122 csr_register,info_xadc_drp_read,0xf0003848,1,rw
123 csr_register,info_xadc_eoc,0xf000383c,1,ro
124 csr_register,uart_rxtx,0xf0001800,1,rw
125 csr_register,uart_rxempty,0xf0001808,1,ro
126 csr_register,spinor_ev_pending,0xf000801c,1,rw
127 csr_register,com_rx,0xf0005004,1,ro
128 csr_register,i2c_ev_status,0xf0005818,1,rw
129 csr_register,keyboard_ev_pending,0xf0008828,1,rw
130 csr_register,com_status,0xf000500c,1,ro
131 csr_register,info_xadc_vccbram,0xf0003838,1,ro
132 csr_register,i2c_status,0xf0005814,1,ro
133 csr_register,trng_osc_rand,0xf000b004,1,ro
134 csr_register,audio_rx_ctl,0xf000a80c,1,rw
135 csr_register,com_ev_pending,0xf0005014,1,rw
136 csr_register,timer0_en,0xf0002008,1,rw
137 csr_register,keyboard_ev_enable,0xf000882c,1,rw
138 csr_register,trng_osc_status,0xf000b008,1,ro
139 csr_register,power_power,0xf0007800,1,rw
140 csr_register,memlcd_ev_status,0xf000480c,1,rw
141 csr_register,keyboard_row2dat,0xf0008808,1,ro
142 csr_register,gpio_ev_status,0xf0009014,1,rw
143 csr_register,audio_ev_enable,0xf000a808,1,rw
144 csr_register,com_ev_status,0xf0005010,1,rw
145 csr_register,crg_mmcm_drp_dat_w,0xf0003018,1,rw
146 csr_register,memlcd_ev_pending,0xf0004810,1,rw
147 csr_register,crg_mmcm_drp_reset,0xf0003000,1,rw
148 csr_register,audio_ev_status,0xf000a800,1,rw
149 constant,config_cpu_type_vexriscv,None,,
150 constant,audio_interrupt,6,,
151 constant,timer0_interrupt,1,,
152 constant,config_csr_alignment,32,,
153 constant,config_csr_data_width,32,,
154 constant,gpio_interrupt,5,,
155 constant,config_cpu_reset_addr,0,,
156 constant,i2c_interrupt,2,,
157 constant,btevents_interrupt,3,,
158 constant,uart_interrupt,0,,
159 constant,config_clock_frequency,100000000,,
160 constant,keyboard_interrupt,4,,
161 constant,config_cpu_variant_standard,None,,
162 memory_region,sram_ext,0x40000000,16777216,cached
163 memory_region,sram,0x10000000,131072,cached
164 memory_region,memlcd,0xb0000000,23584,cached
165 memory_region,vexriscv_debug,0xefff0000,256,cached
166 memory_region,csr,0xf0000000,65536,io
167 memory_region,audio,0xe0000000,4,io
168 memory_region,rom,0x00000000,0,cached
169 memory_region,spiflash,0x20000000,134217728,cached