Skip to content

Commit

Permalink
occamy: Various small RTL fixes and updates (pulp-platform/snitch#388)
Browse files Browse the repository at this point in the history
* snitch: Fix some latches possibly hidden by optimization

* occamy-quadrant: Remove stray comment in controller TLB connections

* vendor: Update `tech_cells_generic to newest version with fixed Bender and defines

* spi_host: Fix CSAAT behavior (See #387)

* vendor: Add `spi_host` patch
  • Loading branch information
paulsc96 committed Jul 11, 2023
1 parent d55eaf2 commit 955a228
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions hw/snitch_cluster/src/snitch_cc.sv
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ module snitch_cc #(
ssr_cfg_req.word = '0;
ssr_cfg_req.write = '0;

addr = '0;
unique casez (acc_snitch_demux_q.data_op)
SCFGRI,
SCFGWI: begin
Expand Down
2 changes: 2 additions & 0 deletions hw/snitch_dma/src/axi_dma_tc_snitch_fe.sv
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ module axi_dma_tc_snitch_fe #(
automatic logic [1:0] cfg;

// Parse the transfer parameters from the register or immediate.
cfg = '0;
unique casez (acc_qdata_op_i)
riscv_instr::DMCPYI : cfg = acc_qdata_op_i[24:20];
riscv_instr::DMCPY : cfg = acc_qdata_argb_i;
Expand Down Expand Up @@ -304,6 +305,7 @@ module axi_dma_tc_snitch_fe #(
automatic logic [1:0] status;

// Parse the status index from the register or immediate.
status = '0;
unique casez (acc_qdata_op_i)
riscv_instr::DMSTATI: status = acc_qdata_op_i[24:20];
riscv_instr::DMSTAT: status = acc_qdata_argb_i;
Expand Down

0 comments on commit 955a228

Please sign in to comment.