@@ -192,40 +192,6 @@ runClashTest = defaultMain $ clashTestRoot
192192 , expectClashFail= Just (def, " Template function for returned False" )
193193 }
194194 ]
195- , clashTestGroup " Cores"
196- [ clashTestGroup " Xilinx"
197- [ clashTestGroup " VIO"
198- [ runTest " DuplicateOutputNames" def{
199- hdlTargets= [VHDL ]
200- , expectClashFail= Just (def, " Tried create a signal called 'a', but identifier generation returned" )
201- }
202- , runTest " DuplicateInputNames" def{
203- hdlTargets= [VHDL ]
204- , expectClashFail= Just (def, " Tried create a signal called 'a', but identifier generation returned" )
205- }
206- , runTest " DuplicateInputOutputNames" def{
207- hdlTargets= [VHDL ]
208- , expectClashFail= Just (def, " Tried create a signal called 'a', but identifier generation returned" )
209- }
210- , runTest " OutputBusWidthExceeded" def{
211- hdlTargets= [VHDL , Verilog , SystemVerilog ]
212- , expectClashFail= Just (def, " Probe signals must be been between 1 and 256 bits wide." )
213- }
214- , runTest " OutputProbesExceeded" def{
215- hdlTargets= [VHDL , Verilog , SystemVerilog ]
216- , expectClashFail= Just (def, " At most 256 input/output probes are supported." )
217- }
218- , runTest " InputBusWidthExceeded" def{
219- hdlTargets= [VHDL , Verilog , SystemVerilog ]
220- , expectClashFail= Just (def, " Probe signals must be been between 1 and 256 bits wide." )
221- }
222- , runTest " InputProbesExceeded" def{
223- hdlTargets= [VHDL , Verilog , SystemVerilog ]
224- , expectClashFail= Just (def, " At most 256 input/output probes are supported." )
225- }
226- ]
227- ]
228- ]
229195 , clashTestGroup " InvalidPrimitive"
230196 [ runTest " InvalidPrimitive" def{
231197 hdlTargets= [VHDL ]
@@ -482,154 +448,6 @@ runClashTest = defaultMain $ clashTestRoot
482448 , clashTestGroup " BoxedFunctions"
483449 [ runTest " DeadRecursiveBoxed" def{hdlSim= [] }
484450 ]
485- , clashTestGroup " Cores"
486- [ clashTestGroup " Xilinx"
487- [ runTest " TdpBlockRam" def
488- { -- Compiling with VHDL gives:
489- -- https://github.com/clash-lang/clash-compiler/issues/2446
490- hdlTargets = [Verilog ]
491- , hdlLoad = [Vivado ]
492- , hdlSim = [Vivado ]
493- , clashFlags= [" -fclash-hdlsyn" , " Vivado" ]
494- , buildTargets= BuildSpecific [ " normalWritesTB" , " writeEnableWritesTB" ]
495- }
496- , let _opts = def{ hdlTargets= [VHDL , Verilog ]
497- , hdlLoad= [Vivado ]
498- , hdlSim= [Vivado ]
499- -- addShortPLTB now segfaults :-(
500- , buildTargets= BuildSpecific [ " addBasicTB"
501- , " addEnableTB"
502- -- , "addShortPLTB"
503- , " subBasicTB"
504- , " mulBasicTB"
505- , " divBasicTB"
506- , " compareBasicTB"
507- , " compareEnableTB"
508- , " fromUBasicTB"
509- , " fromUEnableTB"
510- , " fromSBasicTB"
511- , " fromSEnableTB"
512- ]
513- }
514- in runTest " Floating" _opts
515- , runTest " XpmCdcArraySingle" $ def
516- { hdlTargets= [VHDL , Verilog ]
517- , hdlLoad= [Vivado ]
518- , hdlSim= [Vivado ]
519- , buildTargets= BuildSpecific [" tb" <> show n | n <- [(0 :: Int ).. 7 ]]
520- }
521- , runTest " XpmCdcGray" $ def
522- { hdlTargets= [VHDL , Verilog ]
523- , hdlLoad= [Vivado ]
524- , hdlSim= [Vivado ]
525- , buildTargets= BuildSpecific [" tb" <> show n | n <- [(0 :: Int ).. 7 ]]
526- }
527- , runTest " XpmCdcHandshake" $ def
528- { hdlTargets= [VHDL , Verilog ]
529- , hdlLoad= [Vivado ]
530- , hdlSim= [Vivado ]
531- , buildTargets= BuildSpecific [" tb" <> show n | n <- [(0 :: Int ).. 6 ]]
532- }
533- , runTest " XpmCdcPulse" $ def
534- { hdlTargets= [VHDL , Verilog ]
535- , hdlLoad= [Vivado ]
536- , hdlSim= [Vivado ]
537- , buildTargets= BuildSpecific [" tb" <> show n | n <- [(0 :: Int ).. 7 ]]
538- }
539- , runTest " XpmCdcSingle" $ def
540- { hdlTargets= [VHDL , Verilog ]
541- , hdlLoad= [Vivado ]
542- , hdlSim= [Vivado ]
543- , buildTargets= BuildSpecific [" tb" <> show n | n <- [(0 :: Int ).. 7 ]]
544- }
545- , runTest " XpmCdcSyncRst" $ def
546- { hdlTargets= [VHDL , Verilog ]
547- , hdlLoad= [Vivado ]
548- , hdlSim= [Vivado ]
549- , buildTargets= BuildSpecific [" tb" <> show n | n <- [(0 :: Int ).. 7 ]]
550- }
551- , runTest " DnaPortE2" def
552- { hdlTargets= [VHDL , Verilog ]
553- , hdlLoad= [Vivado ]
554- , hdlSim= [Vivado ]
555- }
556- , clashTestGroup " DcFifo"
557- [ let _opts =
558- def{ hdlTargets= [VHDL , Verilog ]
559- , hdlLoad= [Vivado ]
560- , hdlSim= [Vivado ]
561- }
562- in runTest " Basic" _opts
563- , let _opts = def{ hdlTargets= [VHDL , Verilog ]
564- , hdlLoad= [Vivado ]
565- , hdlSim= [Vivado ]
566- , buildTargets= BuildSpecific [ " testBench_17_2"
567- , " testBench_2_17"
568- , " testBench_2_2"
569- ]
570- }
571- in runTest " Lfsr" _opts
572- ]
573- , let _opts =
574- def{ hdlTargets= [VHDL , Verilog , SystemVerilog ]
575- , hdlLoad= [Vivado ]
576- , hdlSim= [Vivado ]
577- , buildTargets= BuildSpecific [ " noInputTrue"
578- , " noInputFalse"
579- , " noInputLow"
580- , " noInputHigh"
581- , " noInputSigned"
582- , " noInputUnsigned"
583- , " noInputBitVector"
584- , " noInputPair"
585- , " noInputVec"
586- , " noInputCustom"
587- , " noInputNested"
588- , " singleInputBool"
589- , " singleInputBit"
590- , " singleInputSigned"
591- , " singleInputUnsigned"
592- , " singleInputBitVector"
593- , " singleInputPair"
594- , " singleInputVec"
595- , " singleInputCustom"
596- , " singleInputNested"
597- , " multipleInputs"
598- , " inputsAndOutputs"
599- , " withSetName"
600- , " withSetNameNoResult"
601- ]
602- }
603- in runTest " VIO" _opts
604- , let _opts =
605- def{ hdlTargets= [VHDL , Verilog , SystemVerilog ]
606- , hdlLoad= [Vivado ]
607- , hdlSim= [Vivado ]
608- , buildTargets= BuildSpecific [ " testWithDefaultsOne"
609- , " testWithDefaultsThree"
610- , " testWithLefts"
611- , " testWithRights"
612- , " testWithRightsSameCu"
613- ]
614- }
615- in runTest " Ila" _opts
616- , let _opts =
617- def{ hdlTargets= [VHDL , Verilog , SystemVerilog ]
618- , buildTargets= BuildSpecific [ " testWithDefaultsOne"
619- , " testWithDefaultsThree"
620- , " testWithLefts"
621- , " testWithRights"
622- , " testWithRightsSameCu"
623- ]
624- }
625- in outputTest " Ila" _opts
626- , outputTest " VIO" def{
627- hdlTargets= [VHDL ]
628- , buildTargets= BuildSpecific [" withSetName" , " withSetNameNoResult" ]
629- }
630- , runTest " T2549" def{hdlTargets= [Verilog ],hdlSim= [] }
631- ]
632- ]
633451 , clashTestGroup " CSignal"
634452 [ runTest " MAC" def{hdlSim= [] }
635453 , runTest " CBlockRamTest" def{hdlSim= [] }
0 commit comments