<d1b2>
<TheManiacalLemon> Does anyone know if using the nmigen.cli module allows you to add read_verilog statements to Yosys when generating cxxrtl or IL? I want to generate the cxxrtl output, but also make use of an Instance that is provided in a separate .v file
<d1b2>
<TheManiacalLemon> Understandably since it hasn't processed the input, I get the following error: nmigen._toolchain.yosys.YosysError: ERROR: Unknown cell `counter'.
<d1b2>
<TheManiacalLemon> (where counter is a module inside counter.v)
<d1b2>
<bob_twinkles> you want Platform::add_file
<d1b2>
<TheManiacalLemon> In this case, the platform passed into elaborate is None, is that a problem? Or are you talking about a different API
<d1b2>
<TheManiacalLemon> my code just instantiates the top level module via its constructor and passes that into nmigen.cli.main()
<d1b2>
<TheManiacalLemon> Well, I see main_runner takes a platform argument that defaults to None. I'll look to see if there's some platform I can pass in
dcallagh has quit [Quit: Client limit exceeded: 20000]
emeb_mac has quit [Quit: Leaving.]
bvernoux has joined #nmigen
cr1901 has quit [Read error: Connection reset by peer]
kaji has quit [Quit: Client limit exceeded: 20000]
jamwaffles[m] has quit [Quit: Client limit exceeded: 20000]
smkz has quit [Read error: Connection reset by peer]
smkz has joined #nmigen
TD-Linux has quit [Ping timeout: 246 seconds]
TD-Linux has joined #nmigen
smkz has quit [Ping timeout: 264 seconds]
smkz has joined #nmigen
cr1901 has joined #nmigen
smkz has quit [Quit: smkz]
smkz has joined #nmigen
d1b2 has quit [Remote host closed the connection]
d1b2 has joined #nmigen
doinkmaster420 has quit [Quit: Ping timeout (120 seconds)]
doinkmaster420 has joined #nmigen
kaucasus has joined #nmigen
SpaceCoaster_ has joined #nmigen
SpaceCoaster has quit [Ping timeout: 264 seconds]
SpaceCoaster_ is now known as SpaceCoaster
SpaceCoaster has quit [Ping timeout: 246 seconds]
SpaceCoaster has joined #nmigen
bvernoux has quit [Read error: Connection reset by peer]