eec494af0094ff170318ab2afa8ff915f662ead1
1 """simple core issuer verilog generator
5 from nmigen
.cli
import verilog
7 from soc
.config
.test
.test_loadstore
import TestMemPspec
8 from soc
.simple
.issuer
import TestIssuer
11 if __name__
== '__main__':
13 'cr': 1, 'branch': 1, 'trap': 1,
20 pspec
= TestMemPspec(ldst_ifacetype
='bare_wb',
21 imem_ifacetype
='bare_wb',
26 # set to 32 for instruction-memory width=32
28 # set to 32 to make data wishbone bus 32-bit
31 nocore
=True, # to help test coriolis2 ioring
32 gpio
=False, # for test purposes
33 debug
="jtag", # set to jtag or dmi
36 dut
= TestIssuer(pspec
)
38 vl
= verilog
.convert(dut
, ports
=dut
.external_ports(), name
="test_issuer")
39 with
open(sys
.argv
[1], "w") as f
: