Skip to content

Commit fc56630

Browse files
authored
Merge pull request #1347 from slaclab/pre-release
Release Candidate v2.66.0
2 parents e01b930 + c369c2f commit fc56630

File tree

66 files changed

+1364
-422
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1364
-422
lines changed

axi/axi-lite/rtl/AxiDualPortRam.vhd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,9 @@ begin
395395
-- Next state
396396
v.state := IDLE_S;
397397
end if;
398+
----------------------------------------------------------------------
399+
when others => -- For ASIC designs it is best to declare a 'Default' state which returns to IDLE_S state
400+
v := REG_INIT_C;
398401
----------------------------------------------------------------------
399402
end case;
400403

axi/axi-lite/rtl/AxiLiteCrossbar.vhd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ begin
275275
end if;
276276
end if;
277277
end loop;
278+
when others => -- For ASIC designs it is best to declare a 'Default' state which returns to S_WAIT_AXI_TXN_S state
279+
v := REG_INIT_C;
278280
end case;
279281

280282
-- Read state machine
@@ -344,6 +346,8 @@ begin
344346
end if;
345347
end if;
346348
end loop;
349+
when others => -- For ASIC designs it is best to declare a 'Default' state which returns to S_WAIT_AXI_TXN_S state
350+
v := REG_INIT_C;
347351
end case;
348352
end loop;
349353

@@ -405,6 +409,8 @@ begin
405409
v.master(m).wrValid := '0';
406410
end if;
407411

412+
when others => -- For ASIC designs it is best to declare a 'Default' state which returns to M_WAIT_REQ_S state
413+
v := REG_INIT_C;
408414
end case;
409415

410416
-- Don't allow baseAddr bits to be overwritten
@@ -459,6 +465,8 @@ begin
459465
v.master(m).rdValid := '0';
460466
end if;
461467

468+
when others => -- For ASIC designs it is best to declare a 'Default' state which returns to M_WAIT_REQ_S state
469+
v := REG_INIT_C;
462470
end case;
463471

464472
-- Don't allow baseAddr bits to be overwritten

axi/axi-lite/rtl/AxiLiteMaster.vhd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ begin
145145
v.state := S_IDLE_C;
146146
end if;
147147

148+
when others => -- For ASIC designs it is best to declare a 'Default' state which returns to S_IDLE_C state
149+
v := REG_INIT_C;
150+
148151
end case;
149152

150153
if (RST_ASYNC_G = false and axilRst = RST_POLARITY_G) then

axi/axi-lite/rtl/AxiLiteMasterProxy.vhd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ begin
131131
-- Next state
132132
v.state := READY_S;
133133
end if;
134+
----------------------------------------------------------------------
135+
when others => -- For ASIC designs it is best to declare a 'Default' state which returns to READY_S state
136+
v := REG_INIT_C;
137+
----------------------------------------------------------------------
134138
end case;
135139

136140
-- Reset

axi/axi-lite/rtl/AxiLiteRespTimer.vhd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ begin
111111
-- Decrement the counter
112112
v.timer := r.timer - 1;
113113
end if;
114+
----------------------------------------------------------------------
115+
when others => -- For ASIC designs it is best to declare a 'Default' state which returns to IDLE_S state
116+
v := REG_INIT_C;
114117
----------------------------------------------------------------------
115118
end case;
116119

axi/axi-lite/rtl/AxiLiteSequencerRam.vhd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,9 @@ begin
457457
v.wstrb := (others => '1');
458458
-- Next state
459459
v.state := IDLE_S;
460+
----------------------------------------------------------------------
461+
when others => -- For ASIC designs it is best to declare a 'Default' state which returns to IDLE_S state
462+
v := REG_INIT_C;
460463
----------------------------------------------------------------------
461464
end case;
462465

axi/axi-lite/rtl/AxiLiteSlave.vhd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ begin
129129
-- Next state
130130
v.state := IDLE_S;
131131
end if;
132+
----------------------------------------------------------------------
133+
when others => -- For ASIC designs it is best to declare a 'Default' state which returns to IDLE_S state
134+
v := REG_INIT_C;
132135
----------------------------------------------------------------------
133136
end case;
134137

axi/axi-lite/rtl/AxiLiteWriteFilter.vhd

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,10 @@ begin
184184
-- Next state
185185
v.state := IDLE_S;
186186
end if;
187-
------------------------------------------------------------------------------------
187+
----------------------------------------------------------------------
188+
when others => -- For ASIC designs it is best to declare a 'Default' state which returns to IDLE_S state
189+
v := REG_INIT_C;
190+
----------------------------------------------------------------------
188191
end case;
189192

190193
-- Synchronous Reset

axi/axi-stream/ip_integrator/MasterAxiStreamIpIntegrator.vhd

100644100755
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,16 @@ architecture mapping of MasterAxiStreamIpIntegrator is
8585
"ASSOCIATED_BUSIF " & INTERFACENAME & ", " &
8686
"ASSOCIATED_RESET " & INTERFACENAME & "_ARESETN";
8787

88-
signal M_AXIS_Master : AxiStreamMasterType := AXI_STREAM_MASTER_INIT_C;
88+
constant AXIS_CONFIG_C : AxiStreamConfigType := (
89+
TSTRB_EN_C => (HAS_TSTRB = 1),
90+
TDATA_BYTES_C => TDATA_NUM_BYTES,
91+
TDEST_BITS_C => TDEST_WIDTH,
92+
TID_BITS_C => TID_WIDTH,
93+
TKEEP_MODE_C => TKEEP_NORMAL_C,
94+
TUSER_BITS_C => TUSER_WIDTH,
95+
TUSER_MODE_C => TUSER_NORMAL_C);
96+
97+
signal M_AXIS_Master : AxiStreamMasterType := axiStreamMasterInit(AXIS_CONFIG_C);
8998
signal M_AXIS_Slave : AxiStreamSlaveType := AXI_STREAM_SLAVE_FORCE_C;
9099

91100
begin

axi/axi-stream/ip_integrator/SlaveAxiStreamIpIntegrator.vhd

100644100755
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,16 @@ architecture mapping of SlaveAxiStreamIpIntegrator is
8585
"ASSOCIATED_BUSIF " & INTERFACENAME & ", " &
8686
"ASSOCIATED_RESET " & INTERFACENAME & "_ARESETN";
8787

88-
signal S_AXIS_Master : AxiStreamMasterType := AXI_STREAM_MASTER_INIT_C;
88+
constant AXIS_CONFIG_C : AxiStreamConfigType := (
89+
TSTRB_EN_C => (HAS_TSTRB = 1),
90+
TDATA_BYTES_C => TDATA_NUM_BYTES,
91+
TDEST_BITS_C => TDEST_WIDTH,
92+
TID_BITS_C => TID_WIDTH,
93+
TKEEP_MODE_C => TKEEP_NORMAL_C,
94+
TUSER_BITS_C => TUSER_WIDTH,
95+
TUSER_MODE_C => TUSER_NORMAL_C);
96+
97+
signal S_AXIS_Master : AxiStreamMasterType := axiStreamMasterInit(AXIS_CONFIG_C);
8998
signal S_AXIS_Slave : AxiStreamSlaveType := AXI_STREAM_SLAVE_FORCE_C;
9099

91100
begin

0 commit comments

Comments
 (0)