Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Microblaze demo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Show more breadcrumbs
Travail semestre SG
Microblaze demo
Commits
2e18e186
Commit
2e18e186
authored
2 months ago
by
sebastie.gendre
Browse files
Options
Downloads
Patches
Plain Diff
Update top entity: Add new design inputs + Hog generics
parent
d736204d
Branches
Branches containing commit
Tags
v0.0.3
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
microblaze-demo/microblaze-demo.srcs/sources_1/new/mb_top.vhd
+26
-11
26 additions, 11 deletions
...oblaze-demo/microblaze-demo.srcs/sources_1/new/mb_top.vhd
with
26 additions
and
11 deletions
microblaze-demo/microblaze-demo.srcs/sources_1/new/mb_top.vhd
+
26
−
11
View file @
2e18e186
...
@@ -13,26 +13,41 @@ use IEEE.STD_LOGIC_1164.ALL;
...
@@ -13,26 +13,41 @@ use IEEE.STD_LOGIC_1164.ALL;
library
UNISIM
;
library
UNISIM
;
use
UNISIM
.
VCOMPONENTS
.
ALL
;
use
UNISIM
.
VCOMPONENTS
.
ALL
;
entity
mb_design_1_wrapper
is
entity
mb_design_1_wrapper
is
Generic
(
-- Hog build info
GLOBAL_DATE
:
std_logic_vector
(
31
downto
0
)
:
=
(
others
=>
'0'
);
GLOBAL_TIME
:
std_logic_vector
(
31
downto
0
)
:
=
(
others
=>
'0'
);
GLOBAL_VER
:
std_logic_vector
(
31
downto
0
)
:
=
(
others
=>
'0'
);
GLOBAL_SHA
:
std_logic_vector
(
31
downto
0
)
:
=
(
others
=>
'0'
);
);
port
(
port
(
GPIO_0_tri_o
:
out
STD_LOGIC_VECTOR
(
7
downto
0
);
GPIO_0_tri_o
:
out
STD_LOGIC_VECTOR
(
7
downto
0
);
clk_in1
:
in
STD_LOGIC
;
clk_in1
:
in
STD_LOGIC
;
reset
:
in
STD_LOGIC
reset
:
in
STD_LOGIC
);
);
end
mb_design_1_wrapper
;
end
mb_design_1_wrapper
;
architecture
STRUCTURE
of
mb_design_1_wrapper
is
architecture
STRUCTURE
of
mb_design_1_wrapper
is
component
mb_design_1
is
component
mb_design_1
is
port
(
port
(
clk_in1
:
in
STD_LOGIC
;
GPIO_0_tri_o
:
out
STD_LOGIC_VECTOR
(
7
downto
0
);
reset
:
in
STD_LOGIC
;
clk_in1
:
in
STD_LOGIC
;
GPIO_0_tri_o
:
out
STD_LOGIC_VECTOR
(
7
downto
0
)
reset
:
in
STD_LOGIC
;
);
hog_global_date_i_0
:
in
STD_LOGIC_VECTOR
(
31
downto
0
);
hog_global_time_i_0
:
in
STD_LOGIC_VECTOR
(
31
downto
0
);
hog_global_ver_i_0
:
in
STD_LOGIC_VECTOR
(
31
downto
0
);
hog_global_sha_i_0
:
in
STD_LOGIC_VECTOR
(
31
downto
0
)
);
end
component
mb_design_1
;
end
component
mb_design_1
;
begin
begin
mb_design_1_i
:
component
mb_design_1
mb_design_1_i
:
component
mb_design_1
port
map
(
port
map
(
GPIO_0_tri_o
(
7
downto
0
)
=>
GPIO_0_tri_o
(
7
downto
0
),
GPIO_0_tri_o
(
7
downto
0
)
=>
GPIO_0_tri_o
(
7
downto
0
),
clk_in1
=>
clk_in1
,
clk_in1
=>
clk_in1
,
reset
=>
reset
reset
=>
reset
,
);
hog_global_date_i_0
=>
GLOBAL_DATE
,
end
STRUCTURE
;
hog_global_time_i_0
=>
GLOBAL_TIME
,
\ No newline at end of file
hog_global_ver_i_0
=>
GLOBAL_VER
,
hog_global_sha_i_0
=>
GLOBAL_SHA
);
end
STRUCTURE
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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