Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganise #2866

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion common/cmake/gen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function(MUX_GEN)
DEPENDS
${PYTHON3}
${f4pga-arch-defs_SOURCE_DIR}/utils/mux_gen.py
#${f4pga-arch-defs_SOURCE_DIR}/vpr/muxes/logic/mux${MUX_GEN_WIDTH}/mux${MUX_GEN_WIDTH}.sim.v
#${f4pga-arch-defs_SOURCE_DIR}/common/vpr/muxes/logic/mux${MUX_GEN_WIDTH}/mux${MUX_GEN_WIDTH}.sim.v
COMMAND ${PYTHON3} ${f4pga-arch-defs_SOURCE_DIR}/utils/mux_gen.py ${MUX_GEN_ARGS}
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ update-vtr:
# Testing that VTR is correctly integrated in SymbiFlow
pushd ${VTR_LOCATION}; \
make -j`nproc`; \
export VTR=`pwd`/build/vpr/vpr; \
export VTR=`pwd`/build/common/vpr/vpr; \
export GENFASM=`pwd`/build/utils/fasm/genfasm; \
popd \
make all_xc7 -j${NPROC} && make all_ice40 -j${NPROC} && make all_v2x -j${NPROC}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<xi:include href="../layouts/all.xml" xpointer="xpointer(layout/child::node())" />
</layout>
<complexblocklist>
<xi:include href="../../../vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../tiles/clutff/clutff.pb_type.xml"/>
</complexblocklist>
<directlist>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<xi:include href="../layouts/all.xml" xpointer="xpointer(layout/child::node())" />
</layout>
<complexblocklist>
<xi:include href="../../../vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../tiles/clutff/clutff.pb_type.xml"/>
<xi:include href="../../tiles/const/gnd.pb_type.xml"/>
<xi:include href="../../tiles/const/vcc.pb_type.xml"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
</layout>

<complexblocklist>
<xi:include href="../../../vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../tiles/ff-large/ff-large.pb_type.xml"/>
</complexblocklist>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</device>

<complexblocklist>
<xi:include href="../../../vpr/pad/pad.pb_type.xml"/>
<xi:include href="../../../common/vpr/pad/pad.pb_type.xml"/>
<xi:include href="../../tiles/ff1/ff1.pb_type.xml"/>
</complexblocklist>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<xi:include href="../layouts/all.xml" xpointer="xpointer(layout/child::node())" />
</layout>
<complexblocklist>
<xi:include href="../../../vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../tiles/lutff/lutff.pb_type.xml"/>
</complexblocklist>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<xi:include href="../layouts/all.xml" xpointer="xpointer(layout/child::node())" />
</layout>
<complexblocklist>
<xi:include href="../../../vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../tiles/lutff/lutff.pb_type.xml"/>
</complexblocklist>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<xi:include href="../layouts/all.xml" xpointer="xpointer(layout/child::node())" />
</layout>
<complexblocklist>
<xi:include href="../../../vpr/dual-pad/ibuf.pb_type.xml"/>
<xi:include href="../../../vpr/dual-pad/obuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/dual-pad/ibuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/dual-pad/obuf.pb_type.xml"/>
<xi:include href="../../tiles/lutff/lutff.pb_type.xml"/>
</complexblocklist>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<xi:include href="../layouts/all.xml" xpointer="xpointer(layout/child::node())" />
</layout>
<complexblocklist>
<xi:include href="../../../vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../tiles/lutff/lutff.pb_type.xml"/>
</complexblocklist>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<xi:include href="../layouts/all.xml" xpointer="xpointer(layout/child::node())" />
</layout>
<complexblocklist>
<xi:include href="../../../vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../tiles/lutff/lutff.pb_type.xml"/>
</complexblocklist>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<xi:include href="../layouts/all.xml" xpointer="xpointer(layout/child::node())" />
</layout>
<complexblocklist>
<xi:include href="../../../vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../tiles/lutff3/lutff3.pb_type.xml"/>
</complexblocklist>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</segment>
</segmentlist>
<complexblocklist>
<xi:include href="../../../vpr/pad/pad.pb_type.xml"/>
<xi:include href="../../../common/vpr/pad/pad.pb_type.xml"/>
<xi:include href="../../tiles/lutff3/lutff3.pb_type.xml"/>
</complexblocklist>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<xi:include href="../layouts/all.xml" xpointer="xpointer(layout/child::node())" />
</layout>
<complexblocklist>
<xi:include href="../../../vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../tiles/wire/wire.pb_type.xml" />
</complexblocklist>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<xi:include href="../layouts/all.xml" xpointer="xpointer(layout/child::node())" />
</layout>
<complexblocklist>
<xi:include href="../../../vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../tiles/wire/wire.pb_type.xml" />
</complexblocklist>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<xi:include href="../layouts/all.xml" xpointer="xpointer(layout/child::node())" />
</layout>
<complexblocklist>
<xi:include href="../../../vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../tiles/wire/wire.pb_type.xml" />
</complexblocklist>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<xi:include href="../layouts/all.xml" xpointer="xpointer(layout/child::node())" />
</layout>
<complexblocklist>
<xi:include href="../../../vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/ibuf/ibuf.pb_type.xml"/>
<xi:include href="../../../common/vpr/obuf/obuf.pb_type.xml"/>
<xi:include href="../../tiles/wire/wire.pb_type.xml" />
</complexblocklist>

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Tile Outputs -->
<output name="OUT" num_pins="1" />

<xi:include href="../../../vpr/wire/wire.pb_type.xml"/>
<xi:include href="../../../common/vpr/wire/wire.pb_type.xml"/>

<interconnect>
<direct name="TILE.IN" input="TILE.IN" output="WIRE.in" />
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
`include "../../../../../../vpr/muxes/logic/mux2/mux2.sim.v"
`include "../../../../../../common/vpr/muxes/logic/mux2/mux2.sim.v"

module {N}USED(I0, O);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
`include "../../../../../../vpr/muxes/logic/mux2/mux2.sim.v"
`include "../../../../../../common/vpr/muxes/logic/mux2/mux2.sim.v"

module CEUSEDMUX(IN, OUT);
input wire IN;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
`include "../../../../../../vpr/muxes/logic/mux2/mux2.sim.v"
`include "../../../../../../common/vpr/muxes/logic/mux2/mux2.sim.v"

module CLKINV(CLK, OUT);
input wire CLK;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
`include "../../../../../../vpr/muxes/logic/mux2/mux2.sim.v"
`include "../../../../../../common/vpr/muxes/logic/mux2/mux2.sim.v"

module COUTUSED(IN, OUT);
input wire IN;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
`include "../../../../../../vpr/muxes/logic/mux2/mux2.sim.v"
`include "../../../../../../common/vpr/muxes/logic/mux2/mux2.sim.v"

module SRUSEDMUX(IN, OUT);
input wire IN;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
`include "../../../../../vpr/muxes/logic/mux8/mux8.sim.v"
`include "../../../../../common/vpr/muxes/logic/mux8/mux8.sim.v"
`include "../nreg/reg.sim.v"
`include "carryin_mux/carryin_mux.sim.v"

Expand Down
2 changes: 1 addition & 1 deletion xilinx/common/primitives/dsp48e1/nmux2/nmux2.sim.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
`include "../../../../../vpr/muxes/logic/mux2/mux2.sim.v"
`include "../../../../../common/vpr/muxes/logic/mux2/mux2.sim.v"

module NMUX2
(
Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/bram_sdp_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
set(BASE_TEST_NAME bram_sdp_test)
get_target_property_required(UART_SOURCES uart_library SOURCES)

list(APPEND SOURCES ${f4pga-arch-defs_SOURCE_DIR}/library/lfsr.v ${COMMON}/error_output_logic.v ${COMMON}/ram_test.v)
list(APPEND SOURCES ${f4pga-arch-defs_SOURCE_DIR}/xilinx/xc7/tests/library/lfsr.v ${COMMON}/error_output_logic.v ${COMMON}/ram_test.v)

get_target_property_required(DEVICE basys3 DEVICE)
get_target_property_required(ARCH ${DEVICE} ARCH)
Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/bram_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
set(BASE_TEST_NAME bram_test)
get_target_property_required(UART_SOURCES uart_library SOURCES)

list(APPEND SOURCES ${f4pga-arch-defs_SOURCE_DIR}/library/lfsr.v ${COMMON}/error_output_logic.v ${COMMON}/ram_test.v)
list(APPEND SOURCES ${f4pga-arch-defs_SOURCE_DIR}/xilinx/xc7/tests/library/lfsr.v ${COMMON}/error_output_logic.v ${COMMON}/ram_test.v)

get_target_property_required(DEVICE basys3 DEVICE)
get_target_property_required(ARCH ${DEVICE} ARCH)
Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/common/error_output_logic_tb.v
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

module test;

`include "../../../../library/tbassert.v"
`include "../../../../xilinx/xc7/tests/library/tbassert.v"

localparam ADDR_WIDTH = 10;
localparam DATA_WIDTH = 1;
Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/dram_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ foreach(type 32x1d 64x1d 32m 64m)
BOARD basys3
INPUT_IO_FILE ${COMMON}/basys3.pcf
INPUT_SDC_FILE ${COMMON}/basys3.sdc
SOURCES ${UART_SOURCES} ${f4pga-arch-defs_SOURCE_DIR}/library/lfsr.v ${SOURCES} dram_test_${type}.v
SOURCES ${UART_SOURCES} ${f4pga-arch-defs_SOURCE_DIR}/xilinx/xc7/tests/library/lfsr.v ${SOURCES} dram_test_${type}.v
EXPLICIT_ADD_FILE_TARGET
)

Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/ff_sr_ce/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function(ff_ce_sr_test num_ff)
BOARD basys3
INPUT_IO_FILE ${COMMON}/basys3.pcf
SOURCES
${f4pga-arch-defs_SOURCE_DIR}/library/lfsr.v
${f4pga-arch-defs_SOURCE_DIR}/xilinx/xc7/tests/library/lfsr.v
ff_type.v
ff_ce_sr_${num_ff}_${ff_type_lower}.v
${TESTBENCH}
Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/ff_sr_ce/ff_ce_sr_testbench.v
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module test;

localparam NUM_FF = 4;

`include "../../../../library/tbassert.v"
`include "../library/tbassert.v"

reg clk = 0;
reg rx = 1;
Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/lcu/lcu_tb.v
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

module tb;

`include "../../../../library/tbassert.v"
`include "../library/tbassert.v"

// ============================================================================

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/srl/srl16_amc31/srl16_dffmux_mc31_tb.v
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

module tb;

`include "../../../../../library/tbassert.v"
`include "../../library/tbassert.v"

// ============================================================================

Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/srl/srl16_amc31/srl16_doutmux_mc31_tb.v
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

module tb;

`include "../../../../../library/tbassert.v"
`include "../../library/tbassert.v"

// ============================================================================

Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/srl/srl16_chain/srl16_chain_tb.v
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

module tb;

`include "../../../../../library/tbassert.v"
`include "../../library/tbassert.v"

// ============================================================================

Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/srl/srl16_init/srl16_init_tb.v
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

module tb;

`include "../../../../../library/tbassert.v"
`include "../../library/tbassert.v"

// ============================================================================

Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/srl/srl16_shift/srl16_shift_tb.v
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

module tb;

`include "../../../../../library/tbassert.v"
`include "../../library/tbassert.v"

// ============================================================================

Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/srl/srl32_amc31/srl32_dffmux_mc31_tb.v
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

module tb;

`include "../../../../../library/tbassert.v"
`include "../../library/tbassert.v"

// ============================================================================

Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/srl/srl32_amc31/srl32_doutmux_mc31_tb.v
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

module tb;

`include "../../../../../library/tbassert.v"
`include "../../library/tbassert.v"

// ============================================================================

Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/srl/srl32_chain/srl32_chain_tb.v
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

module tb;

`include "../../../../../library/tbassert.v"
`include "../../library/tbassert.v"

// ============================================================================

Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/srl/srl32_init/srl32_init_tb.v
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

module tb;

`include "../../../../../library/tbassert.v"
`include "../../library/tbassert.v"

// ============================================================================

Expand Down
2 changes: 1 addition & 1 deletion xilinx/xc7/tests/srl/srl32_shift/srl32_shift_tb.v
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

module tb;

`include "../../../../../library/tbassert.v"
`include "../../library/tbassert.v"

// ============================================================================

Expand Down