Giter Club home page Giter Club logo

sonic-lite's Introduction

Repository for P4FPGA, SONIC

sonic-lite's People

Contributors

hanw avatar jameyhicks avatar jankcorn avatar vishal1303 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sonic-lite's Issues

clock frequency error

If compilation log shows

Info (332111): Found 5 clocks
Info (332111): Period Clock Name
Info (332111): ======== ============
Info (332111): 1.000 alt_xcvr_reconfig_wrapper:host_ep7_pcie_ep_xcvr_cfg|alt_xcvr_reconfig:alt_xcvr_reconfig_wrapper_inst|alt_xcvr_reconfig_basic:basic|sv_xcvr_reconfig_basic:s5|alt_xcvr_arbiter:pif[3].pif_arb|grant[0]
Info (332111): 1.000 alt_xcvr_reconfig_wrapper:host_ep7_pcie_ep_xcvr_cfg|alt_xcvr_reconfig:alt_xcvr_reconfig_wrapper_inst|alt_xcvr_reconfig_basic:basic|sv_xcvr_reconfig_basic:s5|alt_xcvr_arbiter:pif[6].pif_arb|grant[0]
Info (332111): 1.000 osc_50_b3b
Info (332111): 1.000 pcie_refclk_p
Info (332111): 1.000 sv_reconfig_pma_testbus_clk_0

Then the result sof will not boot.

Building fwd benchmark for netfpga sume target: Timing violation

Hi Han,

I ran make build.nfsume for benchmark/fwd and received the following error:

*** timing violation ***
Slack (VIOLATED) :        -0.397ns  (required time - arrival time)
  Source:                 tile_0_lFwdTest_mem_alloc_mallcRequestFifo/D_OUT_reg[7]/C
                            (rising edge-triggered cell FDRE clocked by userclk2  {[email protected] [email protected] period=4.000ns})
  Destination:            tile_0_lFwdTest_mem_alloc_iommu_regall_cbram_bram/RAM_reg_0/DIADI[7]
                            (rising edge-triggered cell RAMB36E1 clocked by userclk2  {[email protected] [email protected] period=4.000ns})

make[1]: *** [bits] Error 245
make: *** [build.nfsume] Error 2

Potential issue with BCAM

VLDram 313: write data to 00002b535c0009b0 with index 0060 = 0
VLDram 314: write data to 00002b535c0009b0 with index 0040 = 1
indxRam 314: write data to 00002b535c0a09d0 with index 010 = 00
Setram 314: write data to 00002b535c140ad0 with index 01 = 202
Vacram 314: write data to 00002b535c14acd0 with index 00 = 00000001
Idxram 314: write data to 00002b535c14b210 with index 01 = 00

VLDram should not write to 0x40 with 1. need clean up.

Clean up SonicTop.bsv

Cleanup to integrate blueswitch

  • rewrite Si570 controller.
  • rewrite LED controller.
  • rewrite Button Controller.
  • rewrite switchbutton controller.
  • hide clock domain crossing fifo in an instance.

Errors while compiling new DDR3 test

Hi,

the new DDR3 test seems unable to compile, and generates the following error message:

Verilog file created: /home/netfpga/gitHub/sonic-lite/hw/tests/test_ddr3/nfsume/verilog/mkPcieEndpointX7.v
BSV_BO [ /home/netfpga/gitHub/connectal/bsv/HostInterface.bsv]
make[1]: *** No rule to make target obj/Ddr3Controller.bo', needed byobj/Portal.bo'. Stop.
make: *** [build.nfsume] Error 2

Thanks

ERROR: p4/benchmark/fwd

Error: "/home/netfpga/gitHub/sonic-lite/p4/examples/paxos/HostChannel.bsv", line 65, column 42: (T0140)
Cannot access fields in this expression since its type Pipe::PipeOut' has not been imported. Perhaps an import statement is missing, e.g.,import
Pipe::;'
make[1]: *
* [obj/HostChannel.bo] Error 1
make: *** [build.nfsume] Error 2

                AFTER IMPORTING "Pipe INTO "HostChannel.bsv":

Error: "/home/netfpga/gitHub/sonic-lite/p4/examples/paxos/HostChannel.bsv", line 66, column 42: (T0016)
Field get' is not in the typePipe::PipeOut' which was derived for this
expression.
make[1]: *** [obj/HostChannel.bo] Error 1
make: *** [build.nfsume] Error 2

Warning: reset issue

Warning: "/home/hwang/dev/connectal/bsv/PcieEndpointS5.bsv", line 187, column 9: (G0043)
Multiple reset signals influence rule host_ep7_capture_deviceid'. This can lead to inconsistent, non-atomic results when not all of these signals are asserted. Method calls by reset: Reset 1 (single_reset.new_rst): host_ep7_pcie_ep_pcie.tl_cfg_add at "/home/hwang/dev/connectal/generated/altera/ALTERA_PCIE_WRAPPER.bsv", line 776, column 27, host_ep7_pcie_ep_pcie.tl_cfg_ctl at "/home/hwang/dev/connectal/generated/altera/ALTERA_PCIE_WRAPPER.bsv", line 777, column 27, Reset 2 (host_ep7_pcie_ep_corerst.gen_rst): host_ep7_deviceReg.write During elaboration of rulecapture_deviceid' at
"/home/hwang/dev/connectal/bsv/PcieEndpointS5.bsv", line 187, column 9.
During elaboration of ep7' at "/home/hwang/dev/connectal/bsv/PcieHost.bsv", line 227, column 31. During elaboration of_a' at "/home/hwang/dev/connectal/bsv/PcieHost.bsv",
line 273, column 19.
During elaboration of host' at "/home/hwang/dev/sonic-lite/vsim/../SonicSimTop.bsv", line 66, column 16. During elaboration ofmkSonicSimTop' at
"/home/hwang/dev/sonic-lite/vsim/../SonicSimTop.bsv", line 59, column 8.
Warning: "/home/hwang/dev/connectal/bsv/PcieEndpointS5.bsv", line 193, column 9: (G0043)
Multiple reset signals influence rule host_ep7_pertick3'. This can lead to inconsistent, non-atomic results when not all of these signals are asserted. Method calls by reset: Reset 1 (single_reset.new_rst): host_ep7_pcie_ep_pcie.dl_up_exit at "/home/hwang/dev/connectal/generated/altera/ALTERA_PCIE_WRAPPER.bsv", line 584, column 26, host_ep7_pcie_ep_pcie.hotrst_exit at "/home/hwang/dev/connectal/generated/altera/ALTERA_PCIE_WRAPPER.bsv", line 603, column 28, host_ep7_pcie_ep_pcie.l2_exit at "/home/hwang/dev/connectal/generated/altera/ALTERA_PCIE_WRAPPER.bsv", line 616, column 24, host_ep7_pcie_ep_pcie.ltssm_state at "/home/hwang/dev/connectal/generated/altera/ALTERA_PCIE_WRAPPER.bsv", line 630, column 27, Reset 2 (host_ep7_hip_rs_npor_sync_pld_clk.gen_rst): host_ep7_hip_rs_dlup_exit_r.write host_ep7_hip_rs_hotrst_exit_r.write host_ep7_hip_rs_l2_exit_r.write host_ep7_hip_rs_ltssm_r.write During elaboration of rulepertick3' at

ERROR: dtp/examples/pktgen_forwarding

Error: "/home/netfpga/gitHub/sonic-lite/dtp/examples/pktgen_forwarding/DtpPktGenTop.bsv", line 106, column 17: (T0081)
Wrong number of arguments in the use of the following function:
mkEthMac

The function expects 3 arguments but was used with 4 arguments.

Expected type:
function a__#(EthMac::EthMacIfc) f(Clock x1, Clock x2, Reset x3)

Inferred type:
function f__#(g__) f(b__ x1, c__ x2, d__ x3, e__ x4)

Error: "/home/netfpga/gitHub/sonic-lite/dtp/examples/pktgen_forwarding/DtpPktGenTop.bsv", line 161, column 4: (T0031)
The provisos for this expression could not be resolved because there are no
instances of the form:
Connectable::Connectable#(GetPut::Get#(EthMac::PacketDataT#(64)), Pipe::PipeIn#(EthMac::PacketDataT#(64)))
make[1]: *** [obj/DtpPktGenTop.bo] Error 1
make: *** [build.nfsume] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.