Skip to content

Commit

Permalink
Update testfiles for ACP internal InstaBus
Browse files Browse the repository at this point in the history
For changes added for pipeline buffer fix (see
tgingold-cern#27) and locking feature
(see tgingold-cern#25).
  • Loading branch information
lorenzschmid committed Nov 9, 2023
1 parent 07ca605 commit 0050eec
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 0 deletions.
5 changes: 5 additions & 0 deletions testfiles/tb/golden_files/all1_insta_all.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,13 @@ begin
if rising_edge(clock) then
if resetn = '0' then
rd_req_d0 <= '0';
rd_adr_d0 <= "0000000000000";
rd_ack <= '0';
rd_data <= "00000000000000000000000000000000";
wr_req_d0 <= '0';
wr_adr_d0 <= "0000000000000";
wr_dat_d0 <= "00000000000000000000000000000000";
wr_sel_d0 <= "00000000000000000000000000000000";
wr_ack <= '0';
else
rd_req_d0 <= rd_req;
Expand Down
5 changes: 5 additions & 0 deletions testfiles/tb/golden_files/all1_insta_in,out.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,13 @@ begin
if rising_edge(clock) then
if resetn = '0' then
rd_req_d0 <= '0';
rd_adr_d0 <= "0000000000000";
rd_ack <= '0';
rd_data <= "00000000000000000000000000000000";
wr_req_d0 <= '0';
wr_adr_d0 <= "0000000000000";
wr_dat_d0 <= "00000000000000000000000000000000";
wr_sel_d0 <= "00000000000000000000000000000000";
wr_ack <= '0';
else
rd_req_d0 <= rd_req;
Expand Down
4 changes: 4 additions & 0 deletions testfiles/tb/golden_files/all1_insta_in.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,11 @@ begin
if rising_edge(clock) then
if resetn = '0' then
rd_req_d0 <= '0';
rd_adr_d0 <= "0000000000000";
wr_req_d0 <= '0';
wr_adr_d0 <= "0000000000000";
wr_dat_d0 <= "00000000000000000000000000000000";
wr_sel_d0 <= "00000000000000000000000000000000";
else
rd_req_d0 <= rd_req;
rd_adr_d0 <= rd_addr;
Expand Down
1 change: 1 addition & 0 deletions testfiles/tb/golden_files/all1_insta_out.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ begin
if rising_edge(clock) then
if resetn = '0' then
rd_ack <= '0';
rd_data <= "00000000000000000000000000000000";
wr_ack <= '0';
else
rd_ack <= rd_ack_d0;
Expand Down
1 change: 1 addition & 0 deletions testfiles/tb/golden_files/all1_insta_rd-in,wr-out.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ begin
if rising_edge(clock) then
if resetn = '0' then
rd_req_d0 <= '0';
rd_adr_d0 <= "0000000000000";
wr_ack <= '0';
else
rd_req_d0 <= rd_req;
Expand Down
1 change: 1 addition & 0 deletions testfiles/tb/golden_files/all1_insta_rd-in.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ begin
if rising_edge(clock) then
if resetn = '0' then
rd_req_d0 <= '0';
rd_adr_d0 <= "0000000000000";
else
rd_req_d0 <= rd_req;
rd_adr_d0 <= rd_addr;
Expand Down
1 change: 1 addition & 0 deletions testfiles/tb/golden_files/all1_insta_rd-out.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ begin
if rising_edge(clock) then
if resetn = '0' then
rd_ack <= '0';
rd_data <= "00000000000000000000000000000000";
else
rd_ack <= rd_ack_d0;
rd_data <= rd_dat_d0;
Expand Down
2 changes: 2 additions & 0 deletions testfiles/tb/golden_files/all1_insta_rd.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ begin
if rising_edge(clock) then
if resetn = '0' then
rd_req_d0 <= '0';
rd_adr_d0 <= "0000000000000";
rd_ack <= '0';
rd_data <= "00000000000000000000000000000000";
else
rd_req_d0 <= rd_req;
rd_adr_d0 <= rd_addr;
Expand Down
4 changes: 4 additions & 0 deletions testfiles/tb/golden_files/all1_insta_wr-in,rd-out.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,11 @@ begin
if rising_edge(clock) then
if resetn = '0' then
rd_ack <= '0';
rd_data <= "00000000000000000000000000000000";
wr_req_d0 <= '0';
wr_adr_d0 <= "0000000000000";
wr_dat_d0 <= "00000000000000000000000000000000";
wr_sel_d0 <= "00000000000000000000000000000000";
else
rd_ack <= rd_ack_d0;
rd_data <= rd_dat_d0;
Expand Down
3 changes: 3 additions & 0 deletions testfiles/tb/golden_files/all1_insta_wr-in.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ begin
if rising_edge(clock) then
if resetn = '0' then
wr_req_d0 <= '0';
wr_adr_d0 <= "0000000000000";
wr_dat_d0 <= "00000000000000000000000000000000";
wr_sel_d0 <= "00000000000000000000000000000000";
else
wr_req_d0 <= wr_req;
wr_adr_d0 <= wr_addr;
Expand Down
3 changes: 3 additions & 0 deletions testfiles/tb/golden_files/all1_insta_wr.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ begin
if rising_edge(clock) then
if resetn = '0' then
wr_req_d0 <= '0';
wr_adr_d0 <= "0000000000000";
wr_dat_d0 <= "00000000000000000000000000000000";
wr_sel_d0 <= "00000000000000000000000000000000";
wr_ack <= '0';
else
wr_req_d0 <= wr_req;
Expand Down
3 changes: 3 additions & 0 deletions testfiles/tb/golden_files/buserr_insta.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ begin
if resetn = '0' then
rd_ack <= '0';
rd_err <= '0';
rd_data <= "00000000000000000000000000000000";
wr_req_d0 <= '0';
wr_adr_d0 <= "000";
wr_dat_d0 <= "00000000000000000000000000000000";
else
rd_ack <= rd_ack_d0;
rd_err <= rd_err_d0;
Expand Down
4 changes: 4 additions & 0 deletions testfiles/tb/golden_files/wmask_insta.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ begin
if rising_edge(clock) then
if resetn = '0' then
rd_ack <= '0';
rd_data <= "00000000000000000000000000000000";
wr_req_d0 <= '0';
wr_adr_d0 <= "0000";
wr_dat_d0 <= "00000000000000000000000000000000";
wr_sel_d0 <= "00000000000000000000000000000000";
else
rd_ack <= rd_ack_d0;
rd_data <= rd_dat_d0;
Expand Down

0 comments on commit 0050eec

Please sign in to comment.