From 5507c328fff7b534abcba4186b2e5b1e26c4ad5e Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Fri, 17 Jan 2020 15:57:52 -0800 Subject: [PATCH] Add #1644 testcase --- tests/arch/ice40/bug1644.il.gz | Bin 0 -> 25669 bytes tests/arch/ice40/bug1644.ys | 2 ++ 2 files changed, 2 insertions(+) create mode 100644 tests/arch/ice40/bug1644.il.gz create mode 100644 tests/arch/ice40/bug1644.ys diff --git a/tests/arch/ice40/bug1644.il.gz b/tests/arch/ice40/bug1644.il.gz new file mode 100644 index 0000000000000000000000000000000000000000..363c510efe8028d2593da0ec83e4caea16a30ca8 GIT binary patch literal 25669 zcmZs?byOTd*WgV8L4pMcE`v*OcXubay9NyogC!6M9)ddr3-0bZ*x>H&4ucQuU8EpX%zWdv8@&{rXm&uG@e}WMqger7;}5xrYrq4;L4UodeuyyS*C;Xp;8PsMB1+ zhSHm7%!gEOl{5HTXWUyRH|5XzzXRIQ)Y;#>rNTD*kb{&%U*7ZT|D>I&YOUp=GcNtd zvJ3B9nWFYyd~!ue#o0?Btx09&e0pswq<;rI9-qwHD7vn4pbC1;7W~t{^Xd=u;cfQ! z+M^xetzfcoZ@7P@+t;y~ccudc{t=xF#EpM_+-wDzD8C#pFTY;)FM?XrMwj4Ucs=QO z-hzVrL8T??!<{KgzJj=stfjQsEWF1<3C7v$er+8FMutwtli7z)SpK3$#w+dVA7#1Y zG0(@G=1Xg@uXXwF zOoA!NTdK)hd=R8~$)p;^ln1`?xnU`nR2LP_x>xJAlbG|wGJIr9A1{*S8ZD!jDlJWK zOx`c8weKyaFN}0enf^nvQ%7GUd+lgh@?AKgm|%~Kc#o@;kJK^GsH=F+iD$GJA@wbp z6^$~YM5G8=q`7ZGurlH0&~mIZn$WI$H3`kH`<+!^H~)qQ{sb0Kx;a{4%VNl=VW=c~ z<;XE6;GDLi<)3u~$`= zmhG>vHDjv4W`VDjH!QBx=;e$!OLMl24m9L`ny0l{ka+BHQhVGyIyv2#1q})uKVnd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zkBjzMyu~0o=jeUynVC!aCKD$=FO`1 zrzel9nb_pZzdZimrzcQnv?K;m^ zweM$NJ^t$S>xVB+*~HM|FDDO0oj8-a3Co^n(s8H&eeu`Hm(L%6^WBrvK*7H}e)8h< z+3MNDr(d5|s>CM7PoC7_&opX#kpe&Y>Fd@!$>FJx-B&|8+a6-04Z|aCH*vcBvU- zcl*ynsXGM|zwTaOtaWOE7?CDAN$%2zZa0FZmDRB8?uwv$%Pz{p{yKhVuVt#<#v83{ Z-?M84_Ggu%{#;x6{{qE6g`vMe0{|QxOz8js literal 0 HcmV?d00001 diff --git a/tests/arch/ice40/bug1644.ys b/tests/arch/ice40/bug1644.ys new file mode 100644 index 000000000..5950f0e3c --- /dev/null +++ b/tests/arch/ice40/bug1644.ys @@ -0,0 +1,2 @@ +read_ilang bug1644.il.gz +synth_ice40 -top top -dsp -json adc_dac_pass_through.json -run :map_bram -- 2.30.2