Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
11511df
Reimport DSP48E2 with Rosette backend
gussmith23 May 15, 2025
5022601
Add logger to test
gussmith23 May 18, 2025
6851e6a
plenty of work
gussmith23 May 21, 2025
c63ad3d
more work
gussmith23 May 21, 2025
2c9f2ed
fix bug in list interp and cleanup logging
gussmith23 May 21, 2025
ab43354
More work
gussmith23 May 21, 2025
6829794
More work on main
gussmith23 May 22, 2025
fb2917d
More patterns for initial state map func
gussmith23 May 22, 2025
d0ec7a0
Fix pattern
gussmith23 May 22, 2025
2e12e1f
Add back assoc-ref
gussmith23 May 22, 2025
c0f469c
fix dsp after updating yosys
gussmith23 May 22, 2025
56a5800
Fix bug
gussmith23 May 23, 2025
618f356
More work
gussmith23 Jun 24, 2025
469adb8
More work
gussmith23 Jun 27, 2025
b42c882
More work
gussmith23 Jun 30, 2025
7d23522
More work
gussmith23 Jul 1, 2025
7e3a672
Fix some bitwidths
gussmith23 Jul 2, 2025
91dfc57
Finish imports
gussmith23 Jul 2, 2025
3f6bd37
Switch names back
gussmith23 Jul 2, 2025
d8502fc
Bring back a lot of the old compiler
gussmith23 Jul 2, 2025
2f94b6d
more work
gussmith23 Jul 2, 2025
23f3fba
Remove errortrace to kill raco make error
gussmith23 Jul 2, 2025
cf1b20d
Remove comment
gussmith23 Jul 2, 2025
40cc963
Use setundef
gussmith23 Jul 2, 2025
08e6e60
Recurse on input port expressions when generating initial state
gussmith23 Jul 2, 2025
872acc3
for/all; handle port exprs; better logging
gussmith23 Jul 6, 2025
c3ff1a4
Add note; flatten design
gussmith23 Jul 6, 2025
0bc241c
Update test
gussmith23 Jul 6, 2025
fcb01ef
Update test
gussmith23 Jul 6, 2025
f5e44fe
Remove intel arch desc, fix tests
gussmith23 Jul 6, 2025
6850c32
Update more tests
gussmith23 Jul 6, 2025
da2916f
Symbol string mixup
gussmith23 Jul 6, 2025
764fd8d
Get Yosys fork
gussmith23 Jul 6, 2025
c902bdd
Impl concat, fix logging
gussmith23 Jul 6, 2025
0003543
Add simulate flags
gussmith23 Jul 6, 2025
fe0d4b7
Test passes in CI now
gussmith23 Jul 6, 2025
87d68e3
Add simulate flags; one test passes in CI
gussmith23 Jul 6, 2025
b08f2f5
Add missing filecheck
gussmith23 Jul 6, 2025
8b77e33
Try to get tests to pass in CI
gussmith23 Jul 6, 2025
8ccaa85
Test passes
gussmith23 Jul 6, 2025
d303c75
Update flags
gussmith23 Jul 6, 2025
cb3eefd
Add broken test from churchroad
gussmith23 Jul 7, 2025
2eaee87
Fix test
gussmith23 Jul 7, 2025
dd816ac
Add test
gussmith23 Jul 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,15 @@ RUN cd /root \
# TODO(@cknizek?): Replace this with archive download
# Yosys depends on a submodule (abc) and so downloading an archive doesn't work.
# Once this issue (https://github.com/dear-github/dear-github/issues/214)...
# ... is resolved, we can go back to downloading an archive.
&& git clone https://github.com/YosysHQ/yosys.git \
&& cd yosys \
&& source /root/dependencies.sh \
&& git checkout $YOSYS_COMMIT_HASH \
&& git submodule update --init --recursive \
&& PREFIX="/root/.local" CPLUS_INCLUDE_PATH="/usr/include/tcl8.6/:$CPLUS_INCLUDE_PATH" make config-gcc \
&& PREFIX="/root/.local" CPLUS_INCLUDE_PATH="/usr/include/tcl8.6/:$CPLUS_INCLUDE_PATH" make -j ${MAKE_JOBS} install \
&& rm -rf /root/yosys
# ... is resolved, we can go back to downloading an archive.
&& source /root/dependencies.sh \
&& git clone "$YOSYS_URL" \
&& cd yosys \
&& git checkout $YOSYS_COMMIT_HASH \
&& git submodule update --init --recursive \
&& PREFIX="/root/.local" CPLUS_INCLUDE_PATH="/usr/include/tcl8.6/:$CPLUS_INCLUDE_PATH" make config-gcc \
&& PREFIX="/root/.local" CPLUS_INCLUDE_PATH="/usr/include/tcl8.6/:$CPLUS_INCLUDE_PATH" make -j ${MAKE_JOBS} install \
&& rm -rf /root/yosys

# Build CVC5.
RUN source /root/dependencies.sh \
Expand Down
192 changes: 0 additions & 192 deletions architecture_descriptions/intel.yml

This file was deleted.

5 changes: 0 additions & 5 deletions architecture_descriptions/intel_cyclone10lp.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
# Architecture description for Intel Cyclone 10 LP.
#
# This replaces the old intel.yml
# generic-ish altmult_accum block found in Quartus. It's unclear what
# architecture this is actually for. We are adding support for a specific Intel
# architecture (Cyclone 10 LP) instead.
implementations:
# TODO(@gussmith23): support optional parameters like c-width/d-width in this case.
- interface: { name: DSP, parameters: { out-width: 36, a-width: 18, b-width: 18, c-width: 1, d-width: 1 } }
Expand Down
28 changes: 14 additions & 14 deletions architecture_descriptions/xilinx_ultrascale_plus.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
implementations:
- interface: { name: LUT, parameters: { num_inputs: 2 } }
modules:
- module_name: LUT2
instance_name: LUT2
filepath: ../verilog/simulation/xilinx-ultrascale-plus/LUT2.v
parameters: [{ name: INIT, value: INIT }]
ports:
[
{ name: I0, direction: input, bitwidth: 1, value: I0 },
{ name: I1, direction: input, bitwidth: 1, value: I1 },
{ name: O, direction: output, bitwidth: 1, value: O },
]
internal_data: { INIT: 4 }
outputs: { O: (get LUT2 O) }
# - interface: { name: LUT, parameters: { num_inputs: 2 } }
# modules:
# - module_name: LUT2
# instance_name: LUT2
# filepath: ../verilog/simulation/xilinx-ultrascale-plus/LUT2.v
# parameters: [{ name: INIT, value: INIT }]
# ports:
# [
# { name: I0, direction: input, bitwidth: 1, value: I0 },
# { name: I1, direction: input, bitwidth: 1, value: I1 },
# { name: O, direction: output, bitwidth: 1, value: O },
# ]
# internal_data: { INIT: 4 }
# outputs: { O: (get LUT2 O) }
- interface: { name: LUT, parameters: { num_inputs: 6 } }
modules:
- module_name: LUT6
Expand Down
Loading
Loading