Skip to content

Commit

Permalink
Merge pull request #49 from arturum1/main
Browse files Browse the repository at this point in the history
Update vexriscv according to new py2hwsw version.
  • Loading branch information
jjts authored Oct 29, 2024
2 parents 4179590 + d60bf34 commit 8618e43
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions iob_vexriscv.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def setup(py_params_dict):
{
"name": "clk_en_rst_s",
"descr": "Clock, clock enable and reset",
"interface": {"type": "clk_en_rst", "subtype": "slave"},
"signals": {"type": "clk_en_rst"},
},
{
"name": "rst_i",
Expand All @@ -60,9 +60,8 @@ def setup(py_params_dict):
{
"name": "i_bus_m",
"descr": "iob-picorv32 instruction bus",
"interface": {
"signals": {
"type": "axi",
"subtype": "master",
"prefix": "ibus_",
"ID_W": "AXI_ID_W",
"ADDR_W": "AXI_ADDR_W - 2",
Expand All @@ -74,9 +73,8 @@ def setup(py_params_dict):
{
"name": "d_bus_m",
"descr": "iob-picorv32 data bus",
"interface": {
"signals": {
"type": "axi",
"subtype": "master",
"prefix": "dbus_",
"ID_W": "AXI_ID_W",
"ADDR_W": "AXI_ADDR_W - 2",
Expand All @@ -88,19 +86,17 @@ def setup(py_params_dict):
{
"name": "clint_cbus_s",
"descr": "CLINT CSRs bus",
"interface": {
"signals": {
"type": "iob",
"subtype": "slave",
"prefix": "clint_",
"ADDR_W": 16 - 2,
},
},
{
"name": "plic_cbus_s",
"descr": "PLIC CSRs bus",
"interface": {
"signals": {
"type": "iob",
"subtype": "slave",
"prefix": "plic_",
"ADDR_W": 22 - 2,
},
Expand Down Expand Up @@ -146,9 +142,8 @@ def setup(py_params_dict):
{
"name": "clint_cbus_axil",
"descr": "CLINT CSRs bus",
"interface": {
"signals": {
"type": "axil",
"subtype": "slave",
"prefix": "clint_",
"ADDR_W": 16 - 2,
"DATA_W": "AXI_DATA_W",
Expand All @@ -157,9 +152,8 @@ def setup(py_params_dict):
{
"name": "plic_cbus_axil",
"descr": "PLIC CSRs bus",
"interface": {
"signals": {
"type": "axil",
"subtype": "slave",
"prefix": "plic_",
"ADDR_W": 22 - 2,
"DATA_W": "AXI_DATA_W",
Expand All @@ -168,7 +162,7 @@ def setup(py_params_dict):
],
"blocks": [
{
"core_name": "iob2axil",
"core_name": "iob_iob2axil",
"instance_name": "clint_iob2axil",
"instance_description": "Convert IOb to AXI lite for CLINT",
"parameters": {
Expand All @@ -181,7 +175,7 @@ def setup(py_params_dict):
},
},
{
"core_name": "iob2axil",
"core_name": "iob_iob2axil",
"instance_name": "plic_iob2axil",
"instance_description": "Convert IOb to AXI lite for PLIC",
"parameters": {
Expand Down

0 comments on commit 8618e43

Please sign in to comment.