├── LICENSE ├── README.md ├── doc └── pic │ ├── Qemu IO trace _ initialization success.png │ ├── Qemu dmesg _ initialization success.png │ ├── virtio_hw_design-csr_dma.jpg │ └── virtio_hw_design.jpg ├── hw ├── prj │ └── qemu_hdl_cosim │ │ ├── Makefile │ │ ├── README.md │ │ ├── add_cosim_ip_path.tcl │ │ ├── cleanup.sh │ │ ├── cosim_dpi.sh │ │ ├── cosim_proj.tcl │ │ ├── create_proj.tcl │ │ ├── edt_proj.tcl │ │ └── log_wave.tcl └── src │ ├── hdl │ └── virtio_csr.v │ ├── ipi │ ├── cosim_default.bd.tcl │ └── cosim_setup_flow.tcl │ └── qemu_hdl_cosim │ ├── axi_vip │ ├── axi_vip_0_passthrough_mst_stimulus.sv │ ├── axi_vip_thread00_passthrough_mst_stimulus.sv │ ├── axi_vip_thread01_passthrough_mst_stimulus.sv │ ├── axi_vip_thread02_passthrough_mst_stimulus.sv │ ├── axi_vip_thread03_passthrough_mst_stimulus.sv │ ├── axi_vip_thread04_passthrough_mst_stimulus.sv │ ├── axi_vip_thread05_passthrough_mst_stimulus.sv │ ├── axi_vip_thread06_passthrough_mst_stimulus.sv │ ├── csrinit_trace.txt │ ├── dma_transaction_thread00.v │ ├── dma_transaction_thread00.vh │ ├── dma_transaction_thread01.v │ ├── dma_transaction_thread01.vh │ ├── dma_transaction_thread02.v │ ├── dma_transaction_thread02.vh │ ├── dma_transaction_thread03.v │ ├── dma_transaction_thread03.vh │ ├── dma_transaction_thread04.v │ ├── dma_transaction_thread04.vh │ ├── dma_transaction_thread05.v │ ├── dma_transaction_thread05.vh │ ├── dma_transaction_thread06.v │ └── dma_transaction_thread06.vh │ ├── sim_ip │ └── QEMUPCIeBridge │ │ ├── Makefile │ │ ├── component.xml │ │ ├── hdl │ │ ├── acc.h │ │ ├── axi4_ip_mod.sv │ │ ├── axi4_m_r.sv │ │ ├── axi4_m_w.sv │ │ ├── axi4_s_i.sv │ │ ├── axi4_s_r.sv │ │ ├── axi4_s_w.sv │ │ └── dpi-pcie.c │ │ ├── ip_proj │ │ ├── QEMUPCIeBridge.cache │ │ │ └── wt │ │ │ │ └── project.wpc │ │ ├── QEMUPCIeBridge.hw │ │ │ └── QEMUPCIeBridge.lpr │ │ └── QEMUPCIeBridge.xpr │ │ ├── script_ippkg.tcl │ │ └── xgui │ │ ├── QEMUPCIeBridge_v1_0_0.tcl │ │ └── axi4_ip_v1_0.tcl │ ├── test_top.v │ └── test_top.wcfg └── sw └── QEMU └── qemu_hdl_cosim ├── README.md ├── qemu ├── qemu-cosim.patch ├── qemu-iotrace.patch ├── qemu-memfd.patch └── rebuild_qemu.sh └── scripts └── launch_fpga.sh /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/README.md -------------------------------------------------------------------------------- /doc/pic/Qemu IO trace _ initialization success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/doc/pic/Qemu IO trace _ initialization success.png -------------------------------------------------------------------------------- /doc/pic/Qemu dmesg _ initialization success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/doc/pic/Qemu dmesg _ initialization success.png -------------------------------------------------------------------------------- /doc/pic/virtio_hw_design-csr_dma.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/doc/pic/virtio_hw_design-csr_dma.jpg -------------------------------------------------------------------------------- /doc/pic/virtio_hw_design.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/doc/pic/virtio_hw_design.jpg -------------------------------------------------------------------------------- /hw/prj/qemu_hdl_cosim/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/prj/qemu_hdl_cosim/Makefile -------------------------------------------------------------------------------- /hw/prj/qemu_hdl_cosim/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/prj/qemu_hdl_cosim/README.md -------------------------------------------------------------------------------- /hw/prj/qemu_hdl_cosim/add_cosim_ip_path.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/prj/qemu_hdl_cosim/add_cosim_ip_path.tcl -------------------------------------------------------------------------------- /hw/prj/qemu_hdl_cosim/cleanup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/prj/qemu_hdl_cosim/cleanup.sh -------------------------------------------------------------------------------- /hw/prj/qemu_hdl_cosim/cosim_dpi.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/prj/qemu_hdl_cosim/cosim_dpi.sh -------------------------------------------------------------------------------- /hw/prj/qemu_hdl_cosim/cosim_proj.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/prj/qemu_hdl_cosim/cosim_proj.tcl -------------------------------------------------------------------------------- /hw/prj/qemu_hdl_cosim/create_proj.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/prj/qemu_hdl_cosim/create_proj.tcl -------------------------------------------------------------------------------- /hw/prj/qemu_hdl_cosim/edt_proj.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/prj/qemu_hdl_cosim/edt_proj.tcl -------------------------------------------------------------------------------- /hw/prj/qemu_hdl_cosim/log_wave.tcl: -------------------------------------------------------------------------------- 1 | log_wave -r /*/* 2 | -------------------------------------------------------------------------------- /hw/src/hdl/virtio_csr.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/hdl/virtio_csr.v -------------------------------------------------------------------------------- /hw/src/ipi/cosim_default.bd.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/ipi/cosim_default.bd.tcl -------------------------------------------------------------------------------- /hw/src/ipi/cosim_setup_flow.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/ipi/cosim_setup_flow.tcl -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/axi_vip_0_passthrough_mst_stimulus.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/axi_vip_0_passthrough_mst_stimulus.sv -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/axi_vip_thread00_passthrough_mst_stimulus.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/axi_vip_thread00_passthrough_mst_stimulus.sv -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/axi_vip_thread01_passthrough_mst_stimulus.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/axi_vip_thread01_passthrough_mst_stimulus.sv -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/axi_vip_thread02_passthrough_mst_stimulus.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/axi_vip_thread02_passthrough_mst_stimulus.sv -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/axi_vip_thread03_passthrough_mst_stimulus.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/axi_vip_thread03_passthrough_mst_stimulus.sv -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/axi_vip_thread04_passthrough_mst_stimulus.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/axi_vip_thread04_passthrough_mst_stimulus.sv -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/axi_vip_thread05_passthrough_mst_stimulus.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/axi_vip_thread05_passthrough_mst_stimulus.sv -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/axi_vip_thread06_passthrough_mst_stimulus.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/axi_vip_thread06_passthrough_mst_stimulus.sv -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/csrinit_trace.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/csrinit_trace.txt -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread00.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread00.v -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread00.vh: -------------------------------------------------------------------------------- 1 | `include "dma_transaction_thread00.v" 2 | -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread01.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread01.v -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread01.vh: -------------------------------------------------------------------------------- 1 | `include "dma_transaction_thread01.v" 2 | -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread02.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread02.v -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread02.vh: -------------------------------------------------------------------------------- 1 | `include "dma_transaction_thread02.v" 2 | -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread03.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread03.v -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread03.vh: -------------------------------------------------------------------------------- 1 | `include "dma_transaction_thread03.v" 2 | -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread04.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread04.v -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread04.vh: -------------------------------------------------------------------------------- 1 | `include "dma_transaction_thread04.v" 2 | -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread05.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread05.v -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread05.vh: -------------------------------------------------------------------------------- 1 | `include "dma_transaction_thread05.v" 2 | -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread06.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread06.v -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/axi_vip/dma_transaction_thread06.vh: -------------------------------------------------------------------------------- 1 | `include "dma_transaction_thread06.v" 2 | -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/Makefile -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/component.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/component.xml -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/acc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/acc.h -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/axi4_ip_mod.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/axi4_ip_mod.sv -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/axi4_m_r.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/axi4_m_r.sv -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/axi4_m_w.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/axi4_m_w.sv -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/axi4_s_i.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/axi4_s_i.sv -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/axi4_s_r.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/axi4_s_r.sv -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/axi4_s_w.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/axi4_s_w.sv -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/dpi-pcie.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/hdl/dpi-pcie.c -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/ip_proj/QEMUPCIeBridge.cache/wt/project.wpc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/ip_proj/QEMUPCIeBridge.cache/wt/project.wpc -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/ip_proj/QEMUPCIeBridge.hw/QEMUPCIeBridge.lpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/ip_proj/QEMUPCIeBridge.hw/QEMUPCIeBridge.lpr -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/ip_proj/QEMUPCIeBridge.xpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/ip_proj/QEMUPCIeBridge.xpr -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/script_ippkg.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/script_ippkg.tcl -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/xgui/QEMUPCIeBridge_v1_0_0.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/xgui/QEMUPCIeBridge_v1_0_0.tcl -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/xgui/axi4_ip_v1_0.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/sim_ip/QEMUPCIeBridge/xgui/axi4_ip_v1_0.tcl -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/test_top.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/test_top.v -------------------------------------------------------------------------------- /hw/src/qemu_hdl_cosim/test_top.wcfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/hw/src/qemu_hdl_cosim/test_top.wcfg -------------------------------------------------------------------------------- /sw/QEMU/qemu_hdl_cosim/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/sw/QEMU/qemu_hdl_cosim/README.md -------------------------------------------------------------------------------- /sw/QEMU/qemu_hdl_cosim/qemu/qemu-cosim.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/sw/QEMU/qemu_hdl_cosim/qemu/qemu-cosim.patch -------------------------------------------------------------------------------- /sw/QEMU/qemu_hdl_cosim/qemu/qemu-iotrace.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/sw/QEMU/qemu_hdl_cosim/qemu/qemu-iotrace.patch -------------------------------------------------------------------------------- /sw/QEMU/qemu_hdl_cosim/qemu/qemu-memfd.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/sw/QEMU/qemu_hdl_cosim/qemu/qemu-memfd.patch -------------------------------------------------------------------------------- /sw/QEMU/qemu_hdl_cosim/qemu/rebuild_qemu.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/sw/QEMU/qemu_hdl_cosim/qemu/rebuild_qemu.sh -------------------------------------------------------------------------------- /sw/QEMU/qemu_hdl_cosim/scripts/launch_fpga.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSPwFPGAs/virtio-fpga/HEAD/sw/QEMU/qemu_hdl_cosim/scripts/launch_fpga.sh --------------------------------------------------------------------------------