Changes between Initial Version and Version 1 of DsxAsNetlister


Ignore:
Timestamp:
Apr 14, 2010, 11:03:07 AM (15 years ago)
Author:
Nicolas Pouillon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DsxAsNetlister

    v1 v1  
     1
     2= Creating a netlist =
     3
     4DSX may be used as a simple SoCLib netlister. This is trivial:
     5
     6Create your architecture as usual:
     7
     8{{{
     9import dsx
     10import soclib
     11
     12arch = soclib.Architecture(…)
     13
     14mt = arch.create('common:mapping_table', 'mapping_table', …)
     15
     16vgmn = arch.create('caba:vci_vgmn', 'vgmn0', …)
     17
     18xcache = arch.create('caba:vci_xcache_wrapper', …)
     19
     20vgmn.to_initiator.new() // xcache.vci
     21
     22
     23}}}
     24
     25= Calling the driver =
     26
     27Then use the PfDriver() on the architecture object:
     28
     29{{{
     30driver = soclib.PfDriver()
     31
     32arch.generate(driver)
     33}}}
     34
     35You're done. You now have a topcell, the associated system driver, and DSX even called
     36soclib-cc for you.
     37
     38= Changing output name =
     39
     40As for other driver, you may change the output directory with the `outdir=` parameter:
     41
     42{{{
     43driver = soclib.PfDriver( outdir = "my_platform" )
     44}}}