Compare commits

...

2 Commits

Author SHA1 Message Date
Sebastien Bourdeauducq 4052e4ff93 yosys: bump 2019-04-27 14:45:05 +08:00
Sebastien Bourdeauducq fe7ee7b58d helloworld_ecp5: fix LPF 2019-04-27 14:39:34 +08:00
2 changed files with 8 additions and 8 deletions

View File

@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
(fetchFromGitHub { (fetchFromGitHub {
owner = "yosyshq"; owner = "yosyshq";
repo = "yosys"; repo = "yosys";
rev = "ccfa2fe01cffcc4d23bc989e558bd33addfea58e"; rev = "ea0e0722bb42254ac8c63eb41664d9dfb7973aec";
sha256 = "05raqky4l2na8nyim51g8fzv49mg5f3p64lpdr7slxg74s270zry"; sha256 = "1sq9a1h651is9wq8sq4kb4n8v4d91fmdc7g01nrxj1vk1nji8308";
name = "yosys"; name = "yosys";
}) })
@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
(fetchFromGitHub { (fetchFromGitHub {
owner = "berkeley-abc"; owner = "berkeley-abc";
repo = "abc"; repo = "abc";
rev = "2ddc57d8760d94e86699be39a628178cff8154f8"; rev = "3709744c60696c5e3f4cc123939921ce8107fe04";
sha256 = "0da7nnnnl9cq2r7s301xgdc8nlr6hqmqpvd9zn4b58m125sp0scl"; sha256 = "18a9cjng3qfalq8m9az5ck1y5h4l2pf9ycrvkzs9hn82b1j7vrax";
name = "yosys-abc"; name = "yosys-abc";
}) })
]; ];

View File

@ -11,10 +11,10 @@ let
python ${./helloworld_ecp5.py} > $out/top.il python ${./helloworld_ecp5.py} > $out/top.il
cat > $out/top.lpf << EOF cat > $out/top.lpf << EOF
LOCATE COMP "serial_tx" SITE "A4"; LOCATE COMP "clk100" SITE "P3";
IOBUF PORT "P3" IO_TYPE=LVDS; IOBUF PORT "clk100" IO_TYPE=LVDS;
LOCATE COMP "tx" SITE "B19"; LOCATE COMP "serial_tx" SITE "C11";
IOBUF PORT "C11" IO_TYPE=LVCMOS33; IOBUF PORT "serial_tx" IO_TYPE=LVCMOS33;
EOF EOF
echo -n "--um-45k --package CABGA381" > $out/device echo -n "--um-45k --package CABGA381" > $out/device