Skip to content

Commit

Permalink
Merge branch 'master' of github.com:forsyde/forsyde-deep
Browse files Browse the repository at this point in the history
  • Loading branch information
ingo-sander committed Jan 22, 2025
2 parents eb37d18 + cd00ef0 commit f899c2c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ dist
.cabal-sandbox
cabal.sandbox.config
stack.yaml.lock

21 changes: 21 additions & 0 deletions examples/ALU.hs
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,27 @@ simALU = simulate aluSys

vhdlALU = writeVHDL aluSys

compileQuartus_ALU :: IO ()
compileQuartus_ALU = writeVHDLOps vhdlOps aluSys
where vhdlOps = defaultVHDLOps{execQuartus=Just quartusOps}
quartusOps = QuartusOps{action=FullCompilation,
fMax=Just 50, -- in MHz
fpgaFamiliyDevice=Just ("CycloneII",
Just "EP2C35F672C6"),
-- Possibility for Pin Assignments
pinAssigs=[
-- ("in", "PIN_N25"), -- SW0
-- ("resetn", "PIN_N26"), -- SW1
-- ("clock","PIN_G26"), -- KEY[0]
-- ("out[6]","PIN_AF10"), -- HEX0[0]
-- ("out[5]","PIN_AB12"), -- HEX0[1]
-- ("out[4]","PIN_AC12"), -- HEX0[2]
-- ("out[3]","PIN_AD11"), -- HEX0[3]
-- ("out[2]","PIN_AE11"), -- HEX0[4]
-- ("out[1]","PIN_V14"), -- HEX0[5]
-- ("out[0]","PIN_V13") -- HEX0[6]
]
}
----- Test-Inputs

sel = [reallyUnsafeVector [H,H], -- AND
Expand Down

0 comments on commit f899c2c

Please sign in to comment.