summaryrefslogtreecommitdiff
path: root/library/tlv/pseudo_rand_gen.sv
diff options
context:
space:
mode:
authorSumanto Kar2022-02-22 13:20:11 +0530
committerGitHub2022-02-22 13:20:11 +0530
commitf163ec557099c8ba6fcf66bfb4c4476c4c4528d5 (patch)
treee19ba25793ab0de04e9b337d653589c74aac2da1 /library/tlv/pseudo_rand_gen.sv
parentfd196488664dc381f6152d18af6e1afbe906d5f0 (diff)
parent87bc2c82192c948ddb88c52dfcd5213920920c2f (diff)
downloadeSim-f163ec557099c8ba6fcf66bfb4c4476c4c4528d5.tar.gz
eSim-f163ec557099c8ba6fcf66bfb4c4476c4c4528d5.tar.bz2
eSim-f163ec557099c8ba6fcf66bfb4c4476c4c4528d5.zip
Merge pull request #194 from rahulp13/master
Verilator support and fixes crash issues
Diffstat (limited to 'library/tlv/pseudo_rand_gen.sv')
-rwxr-xr-xlibrary/tlv/pseudo_rand_gen.sv46
1 files changed, 46 insertions, 0 deletions
diff --git a/library/tlv/pseudo_rand_gen.sv b/library/tlv/pseudo_rand_gen.sv
new file mode 100755
index 00000000..ec008179
--- /dev/null
+++ b/library/tlv/pseudo_rand_gen.sv
@@ -0,0 +1,46 @@
+// Generated by SandPiper(TM) 1.11-2021/01/28-beta from Redwood EDA.
+// Redwood EDA does not claim intellectual property rights to this file and provides no warranty regarding its correctness or quality.
+
+
+`include "sandpiper_gen.vh"
+
+
+
+
+
+//
+// Signals declared top-level.
+//
+
+// For |default$lfsr.
+logic [LFSR_WIDTH-1:0] DEFAULT_lfsr_a1,
+ DEFAULT_lfsr_a2;
+
+// For |default$reset.
+logic DEFAULT_reset_a0,
+ DEFAULT_reset_a1;
+
+
+
+generate
+
+
+ //
+ // Scope: |default
+ //
+
+ // For $lfsr.
+ always_ff @(posedge clk) DEFAULT_lfsr_a2[LFSR_WIDTH-1:0] <= DEFAULT_lfsr_a1[LFSR_WIDTH-1:0];
+
+ // For $reset.
+ always_ff @(posedge clk) DEFAULT_reset_a1 <= DEFAULT_reset_a0;
+
+
+
+
+endgenerate
+
+
+
+
+generate // This is awkward, but we need to go into 'generate' context in the line that `includes the declarations file.