4. Invocation of topgen.py¶
usage: topgen [-h] [--project-dir PROJECT_DIR] [--filename FILENAME]
[--topname TOPNAME] [--ifcnames IFCNAMES] [--pintype PINTYPE]
[--interface INTERFACE] [--portalclock PORTALCLOCK]
[--importfiles IMPORTFILES] [--portname PORTNAME]
[--wrapper WRAPPER] [--proxy PROXY] [--memread MEMREAD]
[--memwrite MEMWRITE] [--cnoc] [--integratedIndication]
4.1. Named Arguments¶
- --project-dir
project directory
- --filename
name of generated file
Default: “Top.bsv”
- --topname
name of generated module
Default: “mkConnectalTop”
- --ifcnames
name of interface names enum type and file
Default: “IfcNames”
- --pintype
Type of pins interface
Default: []
- --interface
exported interface declaration
Default: []
- --portalclock
Portal clock source
- --importfiles
added imports
Default: []
- --portname
added portal names to enum list
Default: []
- --wrapper
exported wrapper interfaces
Default: []
- --proxy
exported proxy interfaces
Default: []
- --memread
memory read interfaces
Default: []
- --memwrite
memory read interfaces
Default: []
- --cnoc
generate mkCnocTop
Default: False
- --integratedIndication
indication pipes instantiated in user module
Default: False