Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Hydra - a radiation-tolerant SoC
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Hydra - a radiation-tolerant SoC
Commits
ad9f1ea9
Commit
ad9f1ea9
authored
4 years ago
by
Mattia Rizzi
Browse files
Options
Downloads
Patches
Plain Diff
Added local tmr and onehot encode.
this entity has never been tested in radiation
parent
16f27509
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hdl/wb_envm.vhd
+8
-2
8 additions, 2 deletions
hdl/wb_envm.vhd
with
8 additions
and
2 deletions
hdl/wb_envm.vhd
+
8
−
2
View file @
ad9f1ea9
...
...
@@ -53,6 +53,12 @@ signal envm_read_req_p, apb_read_req, apb_read_req_boot, apb_read_req_wb, apb_re
signal
wb_write_req
,
wb_write_req_boot
,
wb_write_req_wb
,
wb_write_ack
:
std_logic
;
signal
wb_addr
,
wb_addr_boot
,
wb_addr_wb
:
std_logic_vector
(
16
downto
0
);
signal
counter
:
unsigned
(
9
downto
0
);
attribute
syn_encoding
:
string
;
attribute
syn_encoding
of
bootstrap_fsm
,
wb_fsm
,
apb_fsm
,
envm_fsm
:
signal
is
"safe,onehot"
;
attribute
syn_radhardlevel
:
string
;
attribute
syn_radhardlevel
of
rtl
:
architecture
is
"tmr"
;
begin
apb_addr
<=
apb_addr_boot
when
(
rst_cpu_o
=
'1'
)
else
apb_addr_wb
;
...
...
@@ -176,7 +182,7 @@ if rising_edge(clk_i) then
else
case
(
apb_fsm
)
is
when
idle
=>
apb_read_ack
<=
'0'
;
apb_read_ack
<=
'0'
;
if
(
apb_read_req
=
'1'
and
apb_read_ack
=
'0'
)
then
apb_fsm
<=
setup
;
apb_psel_o
<=
'1'
;
...
...
@@ -283,4 +289,4 @@ end process;
end
architecture
;
\ No newline at end of file
end
architecture
;
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment