Open zjuan22 opened 7 years ago
Hi Juan,
Can you tried to compile https://github.com/hanw/p4fpga/tree/master/examples/benchmark/benchmark-runtime
using make build.nfsume
that's a known working example that can go through the entire vivado compilation.
Hi everyone.
I am trying to generate a Verilog files from output bsv files, using the p4fpga/examples, I am working with simple_router example. I see in the folder p4fpga/examples/simple_router/sample_output/ it have followings files: APIDeclGenerated.bsv, APIDefGenerated.bsv, APITypeDefGenerated.bsv, ConnectalTypes.bsv, ControlGenerated.bsv, DeparserGenerated.bsv, ParserGenerated.bsv, StructGenerated.bsv, UnionGenerated.bsv.
but when I compile with Make script it generate different files with no synthesize declaration in any generated file: APIDeclGenerated.bsv ConnectalTypes.bsv ParserGenerated.bsv StructGenerated.bsv UnionGenerated.bsv APIDefGenerated.bsv ControlGenerated.bsv DeparserGenerated.bsv ProgDeclGenerated.bsv
I using Bluespec tool to compile and generate Verilog code, but I don't know what is the top file, I guess that is the ControlGenerated.bsv file but I have some doubts about this. Any body can help me to compile? This is my compilation command:
bsc -u -sim -simdir . -bdir . -info-dir . -keep-fires -p ./files:%/Prelude:%/Libraries:%/Libraries/BlueNoC:./datapath:./library:./infra:./bsvconnectal:./connectal:./library/Bcam:library/AsymmetricBRAM:library/DMHC files/ControlGenerated.bsv
But I have The follow error of compile, In StructDefines file:
Error: "datapath/StructDefines.bsv", line 11, column 3: (T0007) Unbound type constructor `MetadataT'
Anybody can help me please.