Creating a netlist
DSX may be used as a simple SoCLib netlister. This is trivial:
Create your architecture as usual:
import dsx import soclib arch = soclib.Architecture(…) mt = arch.create('common:mapping_table', 'mapping_table', …) vgmn = arch.create('caba:vci_vgmn', 'vgmn0', …) xcache = arch.create('caba:vci_xcache_wrapper', …) vgmn.to_initiator.new() // xcache.vci …
Calling the driver
Then use the PfDriver()
on the architecture object:
driver = soclib.PfDriver() arch.generate(driver)
You're done. You now have a topcell, the associated system driver, and DSX even called soclib-cc for you.
Changing output name
As for other driver, you may change the output directory with the outdir=
parameter:
driver = soclib.PfDriver( outdir = "my_platform" )
Last modified 15 years ago
Last modified on Apr 14, 2010, 11:21:32 AM