mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2024-12-21 22:48:41 +00:00
parent
33c92c8994
commit
ed167c05de
@ -14,13 +14,13 @@
|
||||
* srdl2sv itself is licensed under GPLv3.
|
||||
*
|
||||
* Maintainer : Dennis Potter <dennis@dennispotter.eu>
|
||||
* Report Bugs: https://git.dennispotter.eu/Dennis/srdl2sv/issues
|
||||
* Report Bugs: https://github.com/Silicon1602/srdl2sv/issues
|
||||
*
|
||||
* ===GENERATION INFORMATION======================================
|
||||
*
|
||||
* Generation information:
|
||||
* - User: : dpotter
|
||||
* - Time : October 30 2021 19:38:01
|
||||
* - Time : October 30 2021 23:34:40
|
||||
* - Path : /home/dpotter/srdl2sv/examples/hierarchical_regfiles
|
||||
* - RDL file : ['hierarchical_regfiles.rdl']
|
||||
* - Hostname : ArchXPS
|
||||
|
@ -135,7 +135,7 @@ module srdl2sv_amba3ahblite #(
|
||||
begin
|
||||
// Defaults
|
||||
HREADYOUT = 1'b1;
|
||||
HRESP = 1'b0;
|
||||
HRESP = OKAY;
|
||||
|
||||
// When reading back, the data of the bit that was accessed over the bus
|
||||
// should be at byte 0 of the HRDATA bus and bits that were not accessed
|
||||
@ -174,15 +174,17 @@ module srdl2sv_amba3ahblite #(
|
||||
widget_if_w_vld_next = operation_q == WRITE;
|
||||
widget_if_r_vld_next = operation_q == READ;
|
||||
|
||||
if (widget_if.err && widget_if.rdy)
|
||||
begin
|
||||
fsm_next = FSM_ERR_0;
|
||||
end
|
||||
else if (HTRANS == BUSY)
|
||||
if (HTRANS == BUSY)
|
||||
begin
|
||||
// Wait
|
||||
fsm_next = FSM_TRANS;
|
||||
end
|
||||
else if (widget_if.err && widget_if.rdy)
|
||||
begin
|
||||
HREADYOUT = 0;
|
||||
HRESP = ERROR;
|
||||
fsm_next = FSM_ERR_1;
|
||||
end
|
||||
else if (HTRANS == NONSEQ)
|
||||
begin
|
||||
// Another unrelated access is coming
|
||||
@ -307,3 +309,4 @@ module srdl2sv_amba3ahblite #(
|
||||
|
||||
endmodule
|
||||
|
||||
|
||||
|
@ -14,13 +14,13 @@
|
||||
* srdl2sv itself is licensed under GPLv3.
|
||||
*
|
||||
* Maintainer : Dennis Potter <dennis@dennispotter.eu>
|
||||
* Report Bugs: https://git.dennispotter.eu/Dennis/srdl2sv/issues
|
||||
* Report Bugs: https://github.com/Silicon1602/srdl2sv/issues
|
||||
*
|
||||
* ===GENERATION INFORMATION======================================
|
||||
*
|
||||
* Generation information:
|
||||
* - User: : dpotter
|
||||
* - Time : October 30 2021 19:37:23
|
||||
* - Time : October 30 2021 23:34:49
|
||||
* - Path : /home/dpotter/srdl2sv/examples/interrupt_hierarchy
|
||||
* - RDL file : ['interrupt_hierarchy.rdl']
|
||||
* - Hostname : ArchXPS
|
||||
|
@ -135,7 +135,7 @@ module srdl2sv_amba3ahblite #(
|
||||
begin
|
||||
// Defaults
|
||||
HREADYOUT = 1'b1;
|
||||
HRESP = 1'b0;
|
||||
HRESP = OKAY;
|
||||
|
||||
// When reading back, the data of the bit that was accessed over the bus
|
||||
// should be at byte 0 of the HRDATA bus and bits that were not accessed
|
||||
@ -174,15 +174,17 @@ module srdl2sv_amba3ahblite #(
|
||||
widget_if_w_vld_next = operation_q == WRITE;
|
||||
widget_if_r_vld_next = operation_q == READ;
|
||||
|
||||
if (widget_if.err && widget_if.rdy)
|
||||
begin
|
||||
fsm_next = FSM_ERR_0;
|
||||
end
|
||||
else if (HTRANS == BUSY)
|
||||
if (HTRANS == BUSY)
|
||||
begin
|
||||
// Wait
|
||||
fsm_next = FSM_TRANS;
|
||||
end
|
||||
else if (widget_if.err && widget_if.rdy)
|
||||
begin
|
||||
HREADYOUT = 0;
|
||||
HRESP = ERROR;
|
||||
fsm_next = FSM_ERR_1;
|
||||
end
|
||||
else if (HTRANS == NONSEQ)
|
||||
begin
|
||||
// Another unrelated access is coming
|
||||
@ -307,3 +309,4 @@ module srdl2sv_amba3ahblite #(
|
||||
|
||||
endmodule
|
||||
|
||||
|
||||
|
@ -14,13 +14,13 @@
|
||||
* srdl2sv itself is licensed under GPLv3.
|
||||
*
|
||||
* Maintainer : Dennis Potter <dennis@dennispotter.eu>
|
||||
* Report Bugs: https://git.dennispotter.eu/Dennis/srdl2sv/issues
|
||||
* Report Bugs: https://github.com/Silicon1602/srdl2sv/issues
|
||||
*
|
||||
* ===GENERATION INFORMATION======================================
|
||||
*
|
||||
* Generation information:
|
||||
* - User: : dpotter
|
||||
* - Time : October 30 2021 19:37:29
|
||||
* - Time : October 30 2021 23:34:53
|
||||
* - Path : /home/dpotter/srdl2sv/examples/simple_rw_reg
|
||||
* - RDL file : ['simple_rw_reg.rdl']
|
||||
* - Hostname : ArchXPS
|
||||
|
@ -135,7 +135,7 @@ module srdl2sv_amba3ahblite #(
|
||||
begin
|
||||
// Defaults
|
||||
HREADYOUT = 1'b1;
|
||||
HRESP = 1'b0;
|
||||
HRESP = OKAY;
|
||||
|
||||
// When reading back, the data of the bit that was accessed over the bus
|
||||
// should be at byte 0 of the HRDATA bus and bits that were not accessed
|
||||
@ -174,15 +174,17 @@ module srdl2sv_amba3ahblite #(
|
||||
widget_if_w_vld_next = operation_q == WRITE;
|
||||
widget_if_r_vld_next = operation_q == READ;
|
||||
|
||||
if (widget_if.err && widget_if.rdy)
|
||||
begin
|
||||
fsm_next = FSM_ERR_0;
|
||||
end
|
||||
else if (HTRANS == BUSY)
|
||||
if (HTRANS == BUSY)
|
||||
begin
|
||||
// Wait
|
||||
fsm_next = FSM_TRANS;
|
||||
end
|
||||
else if (widget_if.err && widget_if.rdy)
|
||||
begin
|
||||
HREADYOUT = 0;
|
||||
HRESP = ERROR;
|
||||
fsm_next = FSM_ERR_1;
|
||||
end
|
||||
else if (HTRANS == NONSEQ)
|
||||
begin
|
||||
// Another unrelated access is coming
|
||||
@ -307,3 +309,4 @@ module srdl2sv_amba3ahblite #(
|
||||
|
||||
endmodule
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user