mirror of https://github.com/openXC7/prjxray.git
Add README files for minitests
Signed-off-by: Clifford Wolf <clifford@clifford.at> Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
This commit is contained in:
parent
d06ef084c6
commit
04f37f2704
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
This will create an "impossible" CYINIT/CI config for CARRY4. We have no idea
|
||||
atm what that does in hardware. Vivado outputs a warning but still generates a
|
||||
bit-stream. (see comment in top.v)
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
Some small examples on manually placing elements within a CLB.
|
||||
|
||||
Probably only works for with the Artix 7 settings because contains
|
||||
hardcoded slice addresses.
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# close_project
|
||||
# create_project -force -part $::env(XRAY_PART) design design
|
||||
# read_verilog top.v
|
||||
create_project -force -part $::env(XRAY_PART) design design
|
||||
read_verilog top.v
|
||||
|
||||
synth_design -top top
|
||||
|
||||
set_property -dict "PACKAGE_PIN $::env(XRAY_PIN_00) IOSTANDARD LVCMOS33" [get_ports clk]
|
||||
|
|
|
|||
|
|
@ -0,0 +1,30 @@
|
|||
|
||||
A small example for the bidirectional buffers that connect long lines. The configuration
|
||||
bit (00_45 for LVB_L12<-->LVB_L12) confiures the direction of the buffer.
|
||||
|
||||
Probably only works for with the Artix 7 settings because contains
|
||||
hardcoded slice addresses.
|
||||
|
||||
Expected output is something like this:
|
||||
|
||||
|
||||
$ python3 ../../utils/segprint.py design_a.bits INT_L_X12Y132 INT_L_X14Y132 INT_L_X16Y132
|
||||
|
||||
seg SEG_CLBLL_L_X12Y132
|
||||
bit 00_45
|
||||
|
||||
seg SEG_CLBLL_L_X14Y132
|
||||
|
||||
seg SEG_CLBLL_L_X16Y132
|
||||
bit 00_45
|
||||
|
||||
|
||||
$ python3 ../../utils/segprint.py design_b.bits INT_L_X12Y132 INT_L_X14Y132 INT_L_X16Y132
|
||||
|
||||
seg SEG_CLBLL_L_X12Y132
|
||||
|
||||
seg SEG_CLBLL_L_X14Y132
|
||||
bit 00_45
|
||||
|
||||
seg SEG_CLBLL_L_X16Y132
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
This generates a list of all routing nodes and the wires that make up that
|
||||
node. Routing nodes that only contain one wire are not included in the list.
|
||||
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
Some small tests with PIPs. Lists all the PIPs in a regular CLB and INT tile.
|
||||
|
||||
None of the PIPs in the CLB are "real". Some are 1:1 connections that are
|
||||
"always on" and the others are simply implemented by permuting the LUT init
|
||||
values.
|
||||
|
||||
Probably only works for with the Artix 7 settings because contains
|
||||
hardcoded slice addresses.
|
||||
|
||||
Loading…
Reference in New Issue