ASSERTNOT((g_reorder_seq.wr_nof_chunks*g_reorder_seq.wr_chunksize)/=(g_reorder_seq.rd_nof_chunks*g_reorder_seq.rd_chunksize)ANDrising_edge(dp_clk))REPORT"Total write configuration is different from total read configuration!!!"SEVERITYFAILURE;
ASSERTNOT((g_reorder_seq.wr_nof_chunks*g_reorder_seq.wr_chunksize)/=(g_reorder_seq.rd_nof_chunks*g_reorder_seq.rd_chunksize)ANDrising_edge(dp_clk))REPORT"Total write configuration is different from total read configuration!!!"SEVERITYFAILURE;
p_comb:PROCESS(r,dp_rst,done,sync_ok_in)
p_comb:PROCESS(r,dp_rst,done)
VARIABLEv:reg_type;
VARIABLEv:reg_type;
BEGIN
BEGIN
...
@@ -168,9 +164,8 @@ BEGIN
...
@@ -168,9 +164,8 @@ BEGIN
CASEr.stateIS
CASEr.stateIS
WHENs_idle=>
WHENs_idle=>
IF(done='1'ANDsync_ok_in='1')THEN
IF(done='1')THEN
v.first_write:='1';
v.first_write:='1';
v.sync_ok_out:=sync_ok_in;
v.state:=s_first_write;
v.state:=s_first_write;
ENDIF;
ENDIF;
...
@@ -185,9 +180,7 @@ BEGIN
...
@@ -185,9 +180,7 @@ BEGIN
WHENs_write=>
WHENs_write=>
IF(done='1')THEN
IF(done='1')THEN
v.wr_not_rd:='1';
v.wr_not_rd:='1';
IF(sync_ok_in='1')THEN-- Only write when good sync pattern on the input.