Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fpgagen
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
Container 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
ChipForge
fpgagen
Commits
83e2dcd2
Commit
83e2dcd2
authored
1 year ago
by
gling
Browse files
Options
Downloads
Patches
Plain Diff
Split POR and EXT resets to RESET and BTN0
parent
5b02ad46
No related branches found
Branches containing commit
Tags
v1.1.0
Tags containing commit
No related merge requests found
Pipeline
#36705
passed
1 year ago
Stage: build
Stage: deploy
Stage: release
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
fpgagen/fpga/arty/Arty-A7-100.xdc
+2
-2
2 additions, 2 deletions
fpgagen/fpga/arty/Arty-A7-100.xdc
fpgagen/fpga/arty/fpga_wrapper.v
+8
-7
8 additions, 7 deletions
fpgagen/fpga/arty/fpga_wrapper.v
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
with
11 additions
and
10 deletions
fpgagen/fpga/arty/Arty-A7-100.xdc
+
2
−
2
View file @
83e2dcd2
...
...
@@ -34,7 +34,7 @@ set_property -dict { PACKAGE_PIN H5 IOSTANDARD LVCMOS33 } [get_ports { gpio }
#set_property -dict { PACKAGE_PIN T10 IOSTANDARD LVCMOS33 } [get_ports { led[3] }]; #IO_L24N_T3_A00_D16_14 Sch=led[7]
## Buttons
#
set_property -dict { PACKAGE_PIN D9 IOSTANDARD LVCMOS33 } [get_ports {
btn[0]
}]; #IO_L6N_T0_VREF_16 Sch=btn[0]
set_property -dict { PACKAGE_PIN D9 IOSTANDARD LVCMOS33 } [get_ports {
reset_in
}]; #IO_L6N_T0_VREF_16 Sch=btn[0]
#set_property -dict { PACKAGE_PIN C9 IOSTANDARD LVCMOS33 } [get_ports { btn[1] }]; #IO_L11P_T1_SRCC_16 Sch=btn[1]
#set_property -dict { PACKAGE_PIN B9 IOSTANDARD LVCMOS33 } [get_ports { btn[2] }]; #IO_L11N_T1_SRCC_16 Sch=btn[2]
#set_property -dict { PACKAGE_PIN B8 IOSTANDARD LVCMOS33 } [get_ports { btn[3] }]; #IO_L12P_T1_MRCC_16 Sch=btn[3]
...
...
@@ -175,7 +175,7 @@ set_property -dict { PACKAGE_PIN N17 IOSTANDARD LVCMOS33 } [get_ports { debug[
## Misc. ChipKit Ports
#set_property -dict { PACKAGE_PIN M17 IOSTANDARD LVCMOS33 } [get_ports { ck_ioa }]; #IO_L10N_T1_D15_14 Sch=ck_ioa
set_property -dict { PACKAGE_PIN C2 IOSTANDARD LVCMOS33 } [get_ports {
reset
n }]; #IO_L16P_T2_35 Sch=ck_rst
set_property -dict { PACKAGE_PIN C2 IOSTANDARD LVCMOS33 } [get_ports {
por_i
n }]; #IO_L16P_T2_35 Sch=ck_rst
## SMSC Ethernet PHY
#set_property -dict { PACKAGE_PIN D17 IOSTANDARD LVCMOS33 } [get_ports { eth_col }]; #IO_L16N_T2_A27_15 Sch=eth_col
...
...
This diff is collapsed.
Click to expand it.
fpgagen/fpga/arty/fpga_wrapper.v
+
8
−
7
View file @
83e2dcd2
...
...
@@ -29,7 +29,8 @@ module fpga_wrapper(
inout
gpio
,
inout
[
`MPRJ_IO_PADS
-
1
:
0
]
mprj_io
,
input
fast_clk100MHz
,
input
resetn
,
input
por_in
,
input
reset_in
,
// Note that only two flash data pins are dedicated to the
// management SoC wrapper. The management SoC exports the
...
...
@@ -51,20 +52,20 @@ module fpga_wrapper(
wire
clock
;
wire
resetb
;
assign
caravel
.
chip_core
.
por
.
porb_h
=
reset
n
;
assign
caravel
.
chip_core
.
por
.
porb_h
=
por_i
n
;
reg
[
7
:
0
]
reset_delay
;
always
@
(
posedge
clock
or
negedge
reset
n
)
if
(
~
reset
n
)
always
@
(
posedge
clock
or
negedge
por_i
n
)
if
(
~
por_i
n
)
reset_delay
<=
0
;
else
reset_delay
<=
{
reset_delay
[
6
:
0
],
reset
n
}
;
assign
resetb
=
reset_delay
[
7
];
reset_delay
<=
{
reset_delay
[
6
:
0
],
por_i
n
}
;
assign
resetb
=
reset_delay
[
7
]
&
~
reset_in
;
assign
debug
=
{
4'b1111
,
4'b1111
,
4'b1111
,
4'b1111
}
;
fpga_clock_divider
divider
(
.
RESETn
(
reset
n
),
.
RESETn
(
por_i
n
),
.
FAST
(
fast_clk100MHz
),
.
SLOW
(
clock
)
);
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
1
View file @
83e2dcd2
[tool.poetry]
name
=
"fpgagen"
version
=
"1.
0
.0"
version
=
"1.
1
.0"
description
=
"Generate Vivado FPGA projects for caravel_user_project"
repository
=
"https://git.ece.iastate.edu/isu-chip-fab/fpgagen.git"
authors
=
[
"Gregory Ling"
]
...
...
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