Skip to content

Commit

Permalink
Hardcode OpenTitan ans Safety Island JTAG clock frequencies to 50 MHz.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvan Tortorella committed Sep 3, 2024
1 parent 05f917e commit 8fb5858
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions target/sim/src/astral_fix.sv
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,8 @@ module astral_fixture;
///////////////////////

if (CarfieldIslandsCfg.safed.enable) begin : gen_safed_vip
localparam time ClkPeriodSafedJtag = ClkPeriodRef * 2;
// We assume 50 MHz for Safety Island JTAG
localparam time ClkPeriodSafedJtag = 20 ns;

localparam axi_in_t AxiIn = gen_axi_in(DutCfg);
localparam int unsigned AxiSlvIdWidth = DutCfg.AxiMstIdWidth + $clog2(AxiIn.num_in);
Expand Down Expand Up @@ -906,7 +907,8 @@ module astral_fixture;
/////////////////////////

if (CarfieldIslandsCfg.secured.enable) begin: gen_scured_vip
localparam time ClkPeriodSecdJtag = ClkPeriodJtag / 5;
// We assume 50 MHz for OpenTitan JTAG
localparam time ClkPeriodSecdJtag = 20 ns;

// VIP
vip_security_island_soc #(
Expand Down

0 comments on commit 8fb5858

Please sign in to comment.