-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMakefile
1143 lines (945 loc) · 37.1 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
##
## Makefile
##
BTEST ?= TB2
BTEST1 ?= TB1
BTEST7 ?= TB7
BTEST8 ?= TB8
BTEST14 ?= TB14
BTEST15 ?= TB15
BTEST16 ?= TB16
BTEST17 ?= TB17
BTEST18 ?= TB18
BTEST19 ?= TB19
BTEST_WMEMI ?= WmemiTB
ITEST ?= TB2
ITEST1 ?= TB1
ITEST7 ?= TB7
ITEST8 ?= TB8
ITEST10 ?= TB10
ITEST11 ?= TB11
ITEST12 ?= TB12
ITEST13 ?= TB13
ITEST15 ?= TB15
ITEST16 ?= TB16
ITEST17 ?= TB17
ITEST18 ?= TB18
ITEST19 ?= TB19
OPED ?= OPED
A4LS ?= A4LS
NFT ?= TB_nft
## 14 OpenCPI FPGA Board Platforms...
## See $OPCPI/doc/OpenCPI-BoardsDevices.pdf
P_ML555 ?= FTop_ml555
P_ALDER ?= FTop_alder
P_SCHIST ?= FTop_schist
P_XUPV5 ?= FTop_xupv5
P_BIOTITE ?= FTop_biotite
P_NF10 ?= FTop_nf10
P_ILLITE ?= FTop_illite
P_ML605 ?= FTop_ml605
P_SP605 ?= FTop_sp605
P_ALCY4 ?= FTop_alcy4
P_ALST4 ?= FTop_alst4
P_HTGS4 ?= FTop_htgs4
P_KC705 ?= FTop_kc705
P_VC707 ?= FTop_vc707
P_N210 ?= FTop_n210
OBJ ?= obj
RTL ?= rtl
BSV ?= bsv
BSVTST ?= bsv/tst
BSVAPP ?= bsv/app
BSVTOP ?= bsv/top
BSVINF ?= bsv/inf
BSVAXI ?= bsv/axi
BSVDIRS ?= ./bsv/app:./bsv/axi:./bsv/dev:./bsv/inf:./bsv/prm:./bsv/top:./bsv/tst:./bsv/utl:./bsv/wip:./bsv/wrk:./bsv/pci:./bsv/eth:./bsv/pwk:./bsv/dpp
OCAPP_S0 ?= OCApp_scenario0
OCAPP_S1 ?= OCApp_scenario1
OCAPP_S2 ?= OCApp_scenario2
OCAPP_S3a ?= OCApp_scenario3a
OCAPP_S3b ?= OCApp_scenario3b
OCAPP_S4 ?= OCApp_scenario4
VLG_HDL = libsrc/hdl/ocpi
VHD_HDL = libsrc/hdl/vhd
BSV_HDL = libsrc/hdl/bsv
# Select if we use the local or opencpi-referenced build - only uncomment one of these..
# scripts/buildhdl was the "original" self-contained ocpi upstream dir. No longer the default.
# if using buildocpi, be sure the env var $OCPI_BASE_DIR is set to point to the opencpi root.
# To use buildocpi, pull down the opencpi.org disti (limk on next line) and place it in a peer directory
# https://github.com/opencpi/opencpi
#
BUILD_HDL = scripts/buildhdl
#BUILD_HDL = scripts/buildocpi
OCPI_DIR ?= (shell pwd)
default:
make bsim
regress:
make clean
make TEST=TB1 bsim
tar:
make clean
tar czvf ../ocpi-`date +%Y%m%d_%H%M`.tar.-gz .
drop:
make clean
cp -r . ../safe/ocpi-`date +%Y%m%d_%H%M`
echo Removing build directory and sub-directories
rm -fR build
tar czvf ../ocpi-`date +%Y%m%d_%H%M`.tar.-gz .
err:
if !(grep -c PASSED log) then exit 2; fi
######################################################################
bsim: $(OBJ)
# compile to bluesim backend
#echo Bit#\(32\) compileTime = `date +%s`\; // Bluesim `date` > bsv/utl/CompileTime.bsv
bsc -u -sim -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(BTEST).bsv
# create bluesim executable
bsc -sim -keep-inlined-boundaries \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-o $(OBJ)/mk$(BTEST).bexe -e mk$(BTEST) $(OBJ)/*.ba
# run bluesim executable
$(OBJ)/mk$(BTEST).bexe -V
######################################################################
bsim1: $(OBJ)
# compile to bluesim backend
#echo Bit#\(32\) compileTime = `date +%s`\; // Bluesim `date` > bsv/utl/CompileTime.bsv
bsc -u -sim -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(BTEST1).bsv
# create bluesim executable
bsc -sim -keep-inlined-boundaries \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-o $(OBJ)/mk$(BTEST1).bexe -e mk$(BTEST1) $(OBJ)/*.ba
# run bluesim executable
$(OBJ)/mk$(BTEST1).bexe -V
######################################################################
bsim7: $(OBJ)
# compile to bluesim backend
echo Bit#\(32\) compileTime = `date +%s`\; // Bluesim `date` > bsv/utl/CompileTime.bsv
bsc -u -sim -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(BTEST7).bsv
# create bluesim executable
bsc -sim -keep-inlined-boundaries \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-o $(OBJ)/mk$(BTEST7).bexe -e mk$(BTEST7) $(OBJ)/*.ba
# run bluesim executable
$(OBJ)/mk$(BTEST7).bexe -V
######################################################################
bsim8: $(OBJ)
# compile to bluesim backend
#echo Bit#\(32\) compileTime = `date +%s`\; // Bluesim `date` > bsv/utl/CompileTime.bsv
bsc -u -sim -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(BTEST8).bsv
# create bluesim executable
bsc -sim -keep-inlined-boundaries \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-o $(OBJ)/mk$(BTEST8).bexe -e mk$(BTEST8) $(OBJ)/*.ba
# run bluesim executable
$(OBJ)/mk$(BTEST8).bexe -V
######################################################################
bsim14: $(OBJ)
# compile to bluesim backend
#echo Bit#\(32\) compileTime = `date +%s`\; // Bluesim `date` > bsv/utl/CompileTime.bsv
bsc -u -sim -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(BTEST14).bsv
# create bluesim executable
bsc -sim -keep-inlined-boundaries \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-o $(OBJ)/mk$(BTEST14).bexe -e mk$(BTEST14) $(OBJ)/*.ba
# run bluesim executable
$(OBJ)/mk$(BTEST14).bexe -V
######################################################################
bsim15: $(OBJ)
# compile to bluesim backend
#echo Bit#\(32\) compileTime = `date +%s`\; // Bluesim `date` > bsv/utl/CompileTime.bsv
bsc -u -sim -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(BTEST15).bsv
# create bluesim executable
bsc -sim -keep-inlined-boundaries \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-o $(OBJ)/mk$(BTEST15).bexe -e mk$(BTEST15) $(OBJ)/*.ba
# run bluesim executable
$(OBJ)/mk$(BTEST15).bexe -V
######################################################################
bsim16: $(OBJ)
# compile to bluesim backend
#echo Bit#\(32\) compileTime = `date +%s`\; // Bluesim `date` > bsv/utl/CompileTime.bsv
bsc -u -sim -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(BTEST16).bsv
# create bluesim executable
bsc -sim -keep-inlined-boundaries \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-o $(OBJ)/mk$(BTEST16).bexe -e mk$(BTEST16) $(OBJ)/*.ba
# run bluesim executable
$(OBJ)/mk$(BTEST16).bexe -V
######################################################################
bsim17: $(OBJ)
# compile to bluesim backend
#echo Bit#\(32\) compileTime = `date +%s`\; // Bluesim `date` > bsv/utl/CompileTime.bsv
bsc -u -sim -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(BTEST17).bsv
# create bluesim executable
bsc -sim -keep-inlined-boundaries \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-o $(OBJ)/mk$(BTEST17).bexe -e mk$(BTEST17) $(OBJ)/*.ba
# run bluesim executable
$(OBJ)/mk$(BTEST17).bexe -V
######################################################################
bsim18: $(OBJ)
# compile to bluesim backend
#echo Bit#\(32\) compileTime = `date +%s`\; // Bluesim `date` > bsv/utl/CompileTime.bsv
bsc -u -sim -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions \
-keep-fires \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D DEFINE_NDW=1 \
$(BSVTST)/$(BTEST18).bsv
# create bluesim executable
bsc -sim -keep-inlined-boundaries -keep-fires \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-o $(OBJ)/mk$(BTEST18).bexe -e mk$(BTEST18) $(OBJ)/*.ba
# run bluesim executable
$(OBJ)/mk$(BTEST18).bexe -V
######################################################################
bsim19: $(OBJ)
# compile to bluesim backend
bsc -u -sim -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions \
-keep-fires \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D DEFINE_NDW=1 \
-D USE_NDW1 \
$(BSVTST)/$(BTEST19).bsv
# create bluesim executable
bsc -sim -keep-inlined-boundaries -keep-fires \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-o $(OBJ)/mk$(BTEST19).bexe -e mk$(BTEST19) $(OBJ)/*.ba
# run bluesim executable
$(OBJ)/mk$(BTEST19).bexe -V
######################################################################
bsim_wmemi: $(OBJ)
# compile to bluesim backend
bsc -u -sim -elab -keep-inlined-boundaries \
-aggressive-conditions \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(BTEST_WMEMI).bsv
# create bluesim executable
bsc -sim -keep-inlined-boundaries \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-o $(OBJ)/mk$(BTEST_WMEMI).bexe -e mk$(BTEST_WMEMI) $(OBJ)/*.ba
# run bluesim executable
$(OBJ)/mk$(BTEST_WMEMI).bexe -V
######################################################################
vcs: $(OBJ)
# compile to verilog backend for ISim
#echo Bit#\(32\) compileTime = `date +%s`\; // ISim `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab \
-keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) -info-dir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D USE_NDW4 \
-D USE_DEBUGLOGIC \
$(BSVTST)/$(NFT).bsv
bsc -vsim vcs -vdir $(RTL) -bdir $(OBJ) -vsearch $(VLG_HDL):+ -e mk$(NFT) -o runsim
./runsim | tee tmp
######################################################################
isim: $(OBJ)
# compile to verilog backend for ISim
#echo Bit#\(32\) compileTime = `date +%s`\; // ISim `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab \
-keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D DEFINE_NDW=1 \
-D USE_NDW1 \
-D USE_DEBUGLOGIC \
$(BSVTST)/$(ITEST).bsv
bsc -vsim isim -vdir $(RTL) -bdir $(OBJ) -vsearch $(VLG_HDL):+ -e mk$(ITEST) -o runsim
./runsim -testplusarg bscvcd
######################################################################
isim1: $(OBJ)
# compile to verilog backend for ISim
#echo Bit#\(32\) compileTime = `date +%s`\; // ISim `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab \
-keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(ITEST1).bsv
bsc -vsim isim -vdir $(RTL) -bdir $(OBJ) -vsearch $(VLG_HDL):+ -e mk$(ITEST1) -o runsim
./runsim -testplusarg bscvcd
######################################################################
isim7: $(OBJ)
# compile to verilog backend for ISim
#echo Bit#\(32\) compileTime = `date +%s`\; // ISim `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab \
-keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(ITEST7).bsv
bsc -vsim isim -D BSV_TIMESCALE=1ns/1ps -vdir $(RTL) -bdir $(OBJ) -vsearch $(VLG_HDL):+ -e mk$(ITEST7) -o runsim
./runsim -testplusarg bscvcd
######################################################################
isim8: $(OBJ)
# compile to verilog backend for ISim
#echo Bit#\(32\) compileTime = `date +%s`\; // ISim `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab \
-keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(ITEST8).bsv
bsc -vsim isim -D BSV_TIMESCALE=1ns/1ps -vdir $(RTL) -bdir $(OBJ) -vsearch $(VLG_HDL):+ -e mk$(ITEST8) -o runsim
./runsim -testplusarg bscvcd
######################################################################
isim10: $(OBJ)
# compile to verilog backend for ISim
#echo Bit#\(32\) compileTime = `date +%s`\; // ISim `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab \
-keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(ITEST10).bsv
bsc -vsim isim -D BSV_TIMESCALE=1ns/1ps -vdir $(RTL) -bdir $(OBJ) -vsearch $(VLG_HDL):+ -e mk$(ITEST10) -o runsim
./runsim -testplusarg bscvcd
######################################################################
isim11: $(OBJ)
# compile to verilog backend for ISim
#echo Bit#\(32\) compileTime = `date +%s`\; // ISim `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab \
-keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(ITEST11).bsv
bsc -vsim isim -D BSV_TIMESCALE=1ns/1ps -vdir $(RTL) -bdir $(OBJ) -vsearch $(VLG_HDL):+ -e mk$(ITEST11) -o runsim
./runsim -testplusarg bscvcd
######################################################################
isim12: $(OBJ)
# compile to verilog backend for ISim
#echo Bit#\(32\) compileTime = `date +%s`\; // ISim `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab \
-keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(ITEST12).bsv
bsc -vsim isim -D BSV_TIMESCALE=1ns/1ps -vdir $(RTL) -bdir $(OBJ) -vsearch $(VLG_HDL):+ -e mk$(ITEST12) -o runsim
./runsim -testplusarg bscvcd
######################################################################
isim13: $(OBJ)
# compile to verilog backend for ISim
#echo Bit#\(32\) compileTime = `date +%s`\; // ISim `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab \
-keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(ITEST13).bsv
bsc -vsim isim -D BSV_TIMESCALE=1ns/1ps -vdir $(RTL) -bdir $(OBJ) -vsearch $(VLG_HDL):+ -e mk$(ITEST13) -o runsim
./runsim -testplusarg bscvcd
# create verilog executable
#cd $(OBJ) && bsc -vsim modelsim -keep-inlined-boundaries -o mk$(ITEST).vexe -e mk$(ITEST) *.v
# run verilog
#cd $(OBJ) && mk$(ITEST).vexe > mk$(ITEST).runlog
#@# test to be sure the word "PASSED" is in the log file
#@ if !(grep -c PASSED $(OBJ)/mk$(ITEST).runlog) then exit 2; fi
######################################################################
isim15: $(OBJ)
# compile to verilog backend for ISim
#echo Bit#\(32\) compileTime = `date +%s`\; // ISim `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab \
-keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(ITEST15).bsv
bsc -vsim isim -D BSV_TIMESCALE=1ns/1ps -vdir $(RTL) -bdir $(OBJ) -vsearch $(VLG_HDL):+ -e mk$(ITEST15) -o runsim
./runsim -testplusarg bscvcd
# create verilog executable
#cd $(OBJ) && bsc -vsim modelsim -keep-inlined-boundaries -o mk$(ITEST).vexe -e mk$(ITEST) *.v
# run verilog
#cd $(OBJ) && mk$(ITEST).vexe > mk$(ITEST).runlog
#@# test to be sure the word "PASSED" is in the log file
#@ if !(grep -c PASSED $(OBJ)/mk$(ITEST).runlog) then exit 2; fi
######################################################################
isim16: $(OBJ)
# compile to verilog backend for ISim
#echo Bit#\(32\) compileTime = `date +%s`\; // ISim `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab \
-keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(ITEST16).bsv
bsc -vsim isim -D BSV_TIMESCALE=1ns/1ps -vdir $(RTL) -bdir $(OBJ) -vsearch $(VLG_HDL):+ -e mk$(ITEST16) -o runsim
./runsim -testplusarg bscvcd
# create verilog executable
#cd $(OBJ) && bsc -vsim modelsim -keep-inlined-boundaries -o mk$(ITEST).vexe -e mk$(ITEST) *.v
# run verilog
#cd $(OBJ) && mk$(ITEST).vexe > mk$(ITEST).runlog
#@# test to be sure the word "PASSED" is in the log file
#@ if !(grep -c PASSED $(OBJ)/mk$(ITEST).runlog) then exit 2; fi
######################################################################
isim17: $(OBJ)
# compile to verilog backend for ISim
#echo Bit#\(32\) compileTime = `date +%s`\; // ISim `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab \
-keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
$(BSVTST)/$(ITEST17).bsv
bsc -vsim isim -D BSV_TIMESCALE=1ns/1ps -vdir $(RTL) -bdir $(OBJ) -vsearch $(VLG_HDL):+ -e mk$(ITEST17) -o runsim
./runsim -testplusarg bscvcd
# create verilog executable
#cd $(OBJ) && bsc -vsim modelsim -keep-inlined-boundaries -o mk$(ITEST).vexe -e mk$(ITEST) *.v
# run verilog
#cd $(OBJ) && mk$(ITEST).vexe > mk$(ITEST).runlog
#@# test to be sure the word "PASSED" is in the log file
#@ if !(grep -c PASSED $(OBJ)/mk$(ITEST).runlog) then exit 2; fi
######################################################################
isim18: $(OBJ)
# compile to verilog backend for ISim
#echo Bit#\(32\) compileTime = `date +%s`\; // ISim `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab \
-keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D DEFINE_NDW=1 \
$(BSVTST)/$(ITEST18).bsv
bsc -vsim isim -D BSV_TIMESCALE=1ns/1ps -vdir $(RTL) -bdir $(OBJ) -vsearch $(VLG_HDL):+ -e mk$(ITEST18) -o runsim
# uncomment next line to run
#./runsim -testplusarg bscvcd
# create verilog executable
#cd $(OBJ) && bsc -vsim modelsim -keep-inlined-boundaries -o mk$(ITEST).vexe -e mk$(ITEST) *.v
# run verilog
#cd $(OBJ) && mk$(ITEST).vexe > mk$(ITEST).runlog
#@# test to be sure the word "PASSED" is in the log file
#@ if !(grep -c PASSED $(OBJ)/mk$(ITEST).runlog) then exit 2; fi
######################################################################
isim19: $(OBJ)
# compile to verilog backend for ISim
#echo Bit#\(32\) compileTime = `date +%s`\; // ISim `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab \
-keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D DEFINE_NDW=1 \
-D USE_NDW1 \
$(BSVTST)/$(ITEST19).bsv
bsc -vsim isim -D BSV_TIMESCALE=1ns/1ps -vdir $(RTL) -bdir $(OBJ) -vsearch $(VLG_HDL):+ -e mk$(ITEST19) -o runsim
# uncomment next line to run
#./runsim -testplusarg bscvcd
######################################################################
vls18: $(OBJ)
# compile to verilog backend for ISim
#echo Bit#\(32\) compileTime = `date +%s`\; // ISim `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab \
-keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D DEFINE_NDW=1 \
$(BSVTST)/$(ITEST18).bsv
# Holding place for Vivado build scripts
#bsc -vsim isim -D BSV_TIMESCALE=1ns/1ps -vdir $(RTL) -bdir $(OBJ) -vsearch $(VLG_HDL):+ -e mk$(ITEST18) -o runsim
# uncomment next line to run
#./runsim -testplusarg bscvcd
# create verilog executable
#cd $(OBJ) && bsc -vsim modelsim -keep-inlined-boundaries -o mk$(ITEST).vexe -e mk$(ITEST) *.v
# run verilog
#cd $(OBJ) && mk$(ITEST).vexe > mk$(ITEST).runlog
#@# test to be sure the word "PASSED" is in the log file
#@ if !(grep -c PASSED $(OBJ)/mk$(ITEST).runlog) then exit 2; fi
######################################################################
isim18vhd: $(OBJ)
# Ensure BSV mkBiasWorker4B Verilog does not exist in path...
rm -f rtl/mkBiasWorker4B.v
vhpcomp -work ocpi \
$(VHD_HDL)/ocpi_ocp.vhd \
$(VHD_HDL)/ocpi_types.vhd \
$(VHD_HDL)/ocpi_wci.vhd \
$(VHD_HDL)/ocpi_worker.vhd \
$(VHD_HDL)/ocpi_types_body.vhd \
$(VHD_HDL)/ocpi_wci_body.vhd \
$(VHD_HDL)/ocpi_wci_impl.vhd \
$(VHD_HDL)/ocpi_props.vhd \
$(VHD_HDL)/ocpi_props_impl.vhd
vhpcomp -work work $(VHD_HDL)/bias_vhdl_defs.vhd $(VHD_HDL)/bias_vhdl_impl.vhd $(VHD_HDL)/bias_vhdl_skel.vhd
vlogcomp -work work $(VHD_HDL)/mkBiasWorker4B.v $(BSV_HDL)/FIFO2.v
fuse -v 0 -o runsim.isim -prj /tmp/fuse.prj.qn7779 \
-sourcelibdir rtl \
-sourcelibdir libsrc/hdl/vhd \
-sourcelibdir libsrc/hdl/ocpi \
-sourcelibdir /opt/Bluespec/Bluespec-2012.09.beta1B/lib/Libraries \
-sourcelibdir /opt/Bluespec/Bluespec-2012.09.beta1B/lib/Verilog \
-sourcelibext .v \
-d TOP=mkTB18 \
-d BSV_TIMESCALE=1ns/1ps \
-L unisims_ver \
-L ocpi \
-L work \
-t worx_mkTB18.glbl \
-t worx_mkTB18.main
######################################################################
verilog_scenario0: $(OBJ)
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing -aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) -p $(BSVDIRS):lib:+ -D USE_NDW1 -D USE_DEBUGLOGIC -verilog-filter basicinout $(BSVAPP)/$(OCAPP_S0).bsv
cp $(RTL)/mkOCApp4B.v $(RTL)/mkOCApp4B_scenario0.v
verilog_scenario1: $(OBJ)
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing -aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) -p $(BSVDIRS):lib:+ -D USE_NDW1 -D USE_DEBUGLOGIC -verilog-filter basicinout $(BSVAPP)/$(OCAPP_S1).bsv
cp $(RTL)/mkOCApp4B.v $(RTL)/mkOCApp4B_scenario1.v
verilog_scenario1_ndw4: $(OBJ)
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing -aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) -p $(BSVDIRS):lib:+ -D USE_NDW4 -D USE_DEBUGLOGIC -verilog-filter basicinout $(BSVAPP)/$(OCAPP_S1).bsv
cp $(RTL)/mkOCApp16B.v $(RTL)/mkOCApp16B_scenario1.v
verilog_scenario2: $(OBJ)
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing -aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) -p $(BSVDIRS):lib:+ -D USE_NDW1 -D USE_DEBUGLOGIC -verilog-filter basicinout $(BSVAPP)/$(OCAPP_S2).bsv
cp $(RTL)/mkOCApp4B.v $(RTL)/mkOCApp4B_scenario2.v
verilog_scenario3a: $(OBJ)
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing -aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) -p $(BSVDIRS):lib:+ -D USE_NDW1 -D USE_DEBUGLOGIC -verilog-filter basicinout $(BSVAPP)/$(OCAPP_S3a).bsv
cp $(RTL)/mkOCApp4B.v $(RTL)/mkOCApp4B_scenario3a.v
verilog_scenario3b: $(OBJ)
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing -aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) -p $(BSVDIRS):lib:+ -D USE_NDW1 -D USE_DEBUGLOGIC -verilog-filter basicinout $(BSVAPP)/$(OCAPP_S3b).bsv
cp $(RTL)/mkOCApp4B.v $(RTL)/mkOCApp4B_scenario3b.v
verilog_scenario4: $(OBJ)
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing -aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) -p $(BSVDIRS):lib:+ -D USE_NDW1 -D USE_DEBUGLOGIC -verilog-filter basicinout $(BSVAPP)/$(OCAPP_S4).bsv
cp $(RTL)/mkOCApp4B.v $(RTL)/mkOCApp4B_scenario4.v
######################################################################
verilog_sp605: $(OBJ)
# compile to verilog backend for RTL
#echo Bit#\(32\) compileTime = `date +%s`\; // Verilog `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D DEFINE_NDW=1 \
-verilog-filter basicinout $(BSVTOP)/$(P_SP605).bsv
######################################################################
verilog_oped: $(OBJ)
# compile to verilog backend for RTL
#echo Bit#\(32\) compileTime = `date +%s`\; // Verilog `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf -keep-fires \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D USE_NDW1 \
-D USE_DEBUGLOGIC \
-verilog-filter basicinout $(BSVINF)/$(OPED).bsv
######################################################################
verilog_a4ls: $(OBJ)
# compile to verilog backend for RTL
#echo Bit#\(32\) compileTime = `date +%s`\; // Verilog `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-verilog-filter basicinout $(BSVAXI)/$(A4LS).bsv
######################################################################
platform_ml555: $(OBJ)
# compile to verilog backend for RTL
echo Bit#\(32\) compileTime = `date +%s`\; // Verilog `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D DEFINE_NDW=1 \
-D USE_NDW1 \
-D USE_SRLFIFO \
-verilog-filter basicinout $(BSVTOP)/$(P_ML555).bsv
######################################################################
platform_schist: $(OBJ)
# compile to verilog backend for RTL
echo Bit#\(32\) compileTime = `date +%s`\; // Verilog `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D DEFINE_NDW=1 \
-D USE_NDW1 \
-D USE_DEBUGLOGIC \
-D USE_SRLFIFO \
-verilog-filter basicinout $(BSVTOP)/$(P_SCHIST).bsv
######################################################################
platform_nf10: $(OBJ)
# compile to verilog backend for RTL
#echo Bit#\(32\) compileTime = `date +%s`\; // Verilog `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D USE_NDW1 \
-D USE_SRLFIFO \
-verilog-filter basicinout $(BSVTOP)/$(P_NF10).bsv
######################################################################
platform_xupv5: $(OBJ)
# compile to verilog backend for RTL
#echo Bit#\(32\) compileTime = `date +%s`\; // Verilog `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D DEFINE_NDW=1 \
-D USE_NDW1 \
-D USE_DEBUGLOGIC \
-D USE_SRLFIFO \
-verilog-filter basicinout $(BSVTOP)/$(P_XUPV5).bsv
######################################################################
platform_ml605: $(OBJ)
# compile to verilog backend for RTL
echo Bit#\(32\) compileTime = `date +%s`\; // Verilog `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-remove-dollar \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D USE_NDW4 \
-D USE_DEBUGLOGIC \
-D USE_SRLFIFO \
-D HAS_DEVICE_DNA \
-verilog-filter basicinout $(BSVTOP)/$(P_ML605).bsv
######################################################################
platform_kc705: $(OBJ)
# compile to verilog backend for RTL
echo Bit#\(32\) compileTime = `date +%s`\; // Verilog `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-show-range-conflict \
-remove-dollar \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D USE_NDW1 \
-D USE_DEBUGLOGIC \
-D USE_SRLFIFO \
+RTS -K11M -RTS \
-verilog-filter basicinout $(BSVTOP)/$(P_KC705).bsv
######################################################################
platform_vc707: $(OBJ)
# compile to verilog backend for RTL
echo Bit#\(32\) compileTime = `date +%s`\; // Verilog `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-remove-dollar \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D USE_NDW4 \
-D USE_DEBUGLOGIC \
-D USE_SRLFIFO \
-verilog-filter basicinout $(BSVTOP)/$(P_VC707).bsv
######################################################################
platform_alst4: $(OBJ)
# compile to verilog backend for RTL
echo Bit#\(32\) compileTime = `date +%s`\; // Verilog `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D USE_NDW1 \
-D USE_DEBUGLOGIC \
-D ALTERA_100MHZ_SYS0CLK \
-verilog-filter basicinout $(BSVTOP)/$(P_ALST4).bsv
######################################################################
platform_htgs4: $(OBJ)
# compile to verilog backend for RTL
#echo Bit#\(32\) compileTime = `date +%s`\; // Verilog `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D USE_NDW1 \
-D USE_DEBUGLOGIC \
-verilog-filter basicinout $(BSVTOP)/$(P_HTGS4).bsv
######################################################################
platform_ml605_ndw1_nodebug: $(OBJ)
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D USE_NDW1 \
-D USE_SRLFIFO \
-D HAS_DEVICE_DNA \
-verilog-filter basicinout $(BSVTOP)/$(P_ML605).bsv
platform_ml605_ndw1_debug: $(OBJ)
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D USE_NDW1 \
-D USE_DEBUGLOGIC \
-D USE_SRLFIFO \
-D HAS_DEVICE_DNA \
-verilog-filter basicinout $(BSVTOP)/$(P_ML605).bsv
platform_ml605_ndw4_nodebug: $(OBJ)
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D USE_NDW4 \
-D USE_SRLFIFO \
-D HAS_DEVICE_DNA \
-verilog-filter basicinout $(BSVTOP)/$(P_ML605).bsv
platform_ml605_ndw4_debug: $(OBJ)
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D USE_NDW4 \
-D USE_DEBUGLOGIC \
-D USE_SRLFIFO \
-D HAS_DEVICE_DNA \
-verilog-filter basicinout $(BSVTOP)/$(P_ML605).bsv
platform_n210: $(OBJ)
# compile to verilog backend for RTL
#echo Bit#\(32\) compileTime = `date +%s`\; // Verilog `date` > bsv/utl/CompileTime.bsv
bsc -u -verilog -elab -keep-inlined-boundaries -no-warn-action-shadowing \
-aggressive-conditions -no-show-method-conf \
-vdir $(RTL) -bdir $(OBJ) -simdir $(OBJ) \
-p $(BSVDIRS):lib:+ \
-D USE_NDW1 \
-D USE_DEBUGLOGIC \
-D HAS_DEVICE_DNA \
-D USE_SRLFIFO \
-D SPARTAN \
-verilog-filter basicinout $(BSVTOP)/$(P_N210).bsv
######################################################################
$(OBJ):
@mkdir -p $(OBJ)
######################################################################
clean:
sim/tb/cleanall
rm -fR $(OBJ) dump* *.sched bsv/*~ rtl/*~
rm -fR novas.rc nWaveLog schedule* vfastLog veriwell*
rm -fR isim.* fuse.log out out.* isim runsim runsim.*
rm -fR sim/isim/tb/isim
rm -fR sim/isim
rm -fR sim/isim.wdb
rm -fR sim/my_sim.exe
rm -fR synth/*.ngc
rm -fR synth/*.xrpt
rm -fR synth/*.srp
rm -fR synth/*.ngr
rm -fR synth/*.lso
rm -fR synth/xst
rm -fR synth/_xmsgs
rm -fR info obj
rm -fR `find . -name \*~`
rm -fR bin/*.log
rm -fR scripts/_impactbatch.log
rm -fR fuse.xmsgs fuseRelaunch.cmd
mkdir obj
clean-isim:
rm -fR isim.* isim fuse.log runsim runsim.*
clean-all:
make clean
echo Removing mkFoo Verilogs from rtl dir...
rm -fR rtl/mk*
echo Removing build directory and sub-directories
rm -fR build
bsv_v6:
cd scripts/buildhdl; xst -ifn bsvprims_v6.xst
cp scripts/buildhdl/xst/bsv/bsv* lib/hdl/bsv/bsv_v6
ml555:
mkdir -p build
rm -rf build/tmp-ml555
cp -r $(BUILD_HDL) build/tmp-ml555
cp ucf/ml555.ucf build/tmp-ml555
cp ucf/ml555.xcf build/tmp-ml555
cd build/tmp-ml555; ./build_fpgaTop ml555
mv build/tmp-ml555 build/ml555-`date +%Y%m%d_%H%M`
echo ml555 Build complete
ml555nf:
mkdir -p build
rm -rf build/tmp-ml555nf
cp -r $(BUILD_HDL) build/tmp-ml555nf
cp ucf/ml555nf.ucf build/tmp-ml555nf
cp ucf/ml555nf.xcf build/tmp-ml555nf
cd build/tmp-ml555nf; ./build_fpgaTop ml555nf
mv build/tmp-ml555nf build/ml555nf-`date +%Y%m%d_%H%M`
echo ml555nf Build complete
xupv5:
mkdir -p build
rm -rf build/tmp-xupv5
cp -r $(BUILD_HDL) build/tmp-xupv5
cp ucf/xupv5.ucf build/tmp-xupv5
cp ucf/xupv5.xcf build/tmp-xupv5
cd build/tmp-xupv5; ./build_fpgaTop xupv5
mv build/tmp-xupv5 build/xupv5-`date +%Y%m%d_%H%M`
echo xupv5 Build complete
alder:
mkdir -p build
rm -rf build/tmp-alder
cp -r $(BUILD_HDL) build/tmp-alder
cp ucf/alder.ucf build/tmp-alder
cp ucf/alder.xcf build/tmp-alder
cd build/tmp-alder; ./build_fpgaTop alder
mv build/tmp-alder build/alder-`date +%Y%m%d_%H%M`
echo alder Build complete
schist: