Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hydra - a radiation-tolerant SoC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
Hydra - a radiation-tolerant SoC
Commits
ad9f1ea9
Commit
ad9f1ea9
authored
Dec 15, 2020
by
Mattia Rizzi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added local tmr and onehot encode.
this entity has never been tested in radiation
parent
16f27509
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
wb_envm.vhd
hdl/wb_envm.vhd
+8
-2
No files found.
hdl/wb_envm.vhd
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
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment