summaryrefslogtreecommitdiff
path: root/src/maker/tlv/pseudo_rand_gen.sv
blob: ec0081796accc52812c1407420a6a2114f068b15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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.