Han Wang
Han Wang
- [x] Support gen3 core completer interface - [x] Support gen3 core requester interface up to 128 bits - [x] Extend MemToPcie to 256 bits - [x] Extend gen3 core...
Reference to Axi is outdated.
Use AXI or other standard protocol.
Would be better if value of a__ is determined at compile time.
``` 109 typedef Engine#(1, MetadataRequest, TestTblParam) ModHeadersAction;$ 110 instance Action_execute #(TestTblParam);$ 111 function ActionValue#(MetadataRequest) step_1 (MetadataRequest req, TestTblParam param);$ 112 actionvalue$ 113 let new_header_0 = req.meta.hdr.header_0;$ 114 $display("(%0d) step 1:...
In ControlGenerated.bsv ``` 59 instance Table_request #(ConnectalTypes::TestTblReqT);$ 60 function ConnectalTypes::TestTblReqT table_request(MetadataRequest data);$ 61 let v = 0; //ConnectalTypes::TestTblReqT {};$ 62 return v;$ 63 endfunction$ 64 endinstance$ ``` In ConnectalTypes.bsv ```...
`COLLECT_RULE(parse_fsm, joinRules(vec(genContRule(w_parse_header_0_parse_header_1, StateParseHeader1, valueOf(ParseHeader1Sz)))));
``` 22 instance Table_request #(ConnectalTypes::ForwardTableReqT);$ 23 function ConnectalTypes::ForwardTableReqT table_request(MetadataRequest data);$ 24 ConnectalTypes::ForwardTableReqT v = defaultValue;$ 25 if (data.meta.hdr.ethernet matches tagged Valid .ethernet) begin$ 26 let dstAddr = ethernet.hdr.dstAddr;$ 27 v...
``` 1 typedef struct{$ 2 Bit#(6) padding;$ 3 Bit#(48) dstAddr;$ 4 } ForwardTableReqT deriving (Bits, FShow);$ 5 instance DefaultValue#(ForwardTableReqT);$ 6 defaultValue = unpack(0);$ 7 endinstance$ ```