-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsha256.core
81 lines (73 loc) · 1.74 KB
/
sha256.core
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
CAPI=2:
name: midimaster21b:cryptography:sha256:0.1.0
description: A basic implementation of the SHA-256 algorithm
filesets:
rtl:
files:
- src/rtl/sha_algo.v
file_type: verilogSource
tb:
files:
- sim/sha_algo_tb.v
file_type: verilogSource
tb_uvm:
files:
- sim/uvm/test_pkg.sv
- sim/uvm/msg_if.sv
- sim/uvm/msg_seq_item.sv
- sim/uvm/msg_seq.sv
- sim/uvm/msg_driver.sv
- sim/uvm/msg_monitor.sv
- sim/uvm/msg_agent.sv
- sim/uvm/hash_if.sv
- sim/uvm/hash_seq_item.sv
- sim/uvm/hash_seq.sv
- sim/uvm/hash_driver.sv
- sim/uvm/hash_monitor.sv
- sim/uvm/hash_agent.sv
- sim/uvm/sha_scoreboard.sv
- sim/uvm/sha_env.sv
- src/rtl/sha_algo_wrapper.sv
- sim/sha_uvm_tb_top.sv
- sim/single_value_test.sv
file_type: systemVerilogSource
basys3:
files:
- src/constraints/basys3.xdc: {file_type: xdc}
targets:
# Special FuseSoC target
default: &default
filesets:
- rtl
toplevel: sha_algo
# Simulation target
sim:
<<: *default
description: Simulate the design
default_tool: xsim
filesets_append:
- tb
toplevel: sha_algo_tb
# Simulation UVM target
sim_uvm:
<<: *default
description: Simulate the design with UVM
default_tool: xsim
tools:
xsim:
xelab_options: [-L, uvm, --timescale, 1ns/1ns]
# xsim_options: [-L, uvm, --timescale, 1ns/1ns]
filesets_append:
- tb
- tb_uvm
toplevel: sha_uvm_tb_top
# Synthesis target
synth:
<<: *default
description: Synthesize the design for a Basys3 FPGA board
default_tool: vivado
filesets_append:
- basys3
tools:
vivado:
part: xc7a35tcpg236-1