aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/gfx.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-10-06 11:26:56 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-10-20 09:41:30 +0200
commitbfbb6dbf6955f0fd5e68928f27d1a2edd17b5646 (patch)
tree3b0671045ce454e31bb867b2bae4be38ec2ea6e2 /ecp5/gfx.h
parent872e296f7b6b679be89ad3757a9ff9936dc71ba9 (diff)
downloadnextpnr-bfbb6dbf6955f0fd5e68928f27d1a2edd17b5646.tar.gz
nextpnr-bfbb6dbf6955f0fd5e68928f27d1a2edd17b5646.tar.bz2
nextpnr-bfbb6dbf6955f0fd5e68928f27d1a2edd17b5646.zip
Draw swbox, smaller slices, proper io
Diffstat (limited to 'ecp5/gfx.h')
-rw-r--r--ecp5/gfx.h27
1 files changed, 22 insertions, 5 deletions
diff --git a/ecp5/gfx.h b/ecp5/gfx.h
index 0290d2f6..ec867547 100644
--- a/ecp5/gfx.h
+++ b/ecp5/gfx.h
@@ -24,11 +24,28 @@
NEXTPNR_NAMESPACE_BEGIN
-const float logic_cell_x1 = 0.76;
-const float logic_cell_x2 = 0.95;
-const float logic_cell_y1 = 0.05;
-const float logic_cell_y2 = 0.15;
-const float logic_cell_pitch = 0.125;
+const float switchbox_x1 = 0.51;
+const float switchbox_x2 = 0.90;
+const float switchbox_y1 = 0.51;
+const float switchbox_y2 = 0.90;
+
+const float slice_x1 = 0.92;
+const float slice_x2 = 0.94;
+const float slice_y1 = 0.71;
+const float slice_y2 = 0.745;
+const float slice_pitch = 0.04;
+
+const float io_cell_v_x1 = 0.76;
+const float io_cell_v_x2 = 0.95;
+const float io_cell_v_y1 = 0.05;
+const float io_cell_v_y2 = 0.15;
+const float io_cell_v_pitch = 0.125;
+
+const float io_cell_h_x1 = 0.05;
+const float io_cell_h_x2 = 0.14;
+const float io_cell_h_y1 = 0.05;
+const float io_cell_h_y2 = 0.24;
+const float io_cell_h_pitch = 0.125;
NEXTPNR_NAMESPACE_END