Sfoglia il codice sorgente

Remove pins2qsf.pl and Makefile; no longer needed

We now have a script that reads the .pins file directly, so there is
no reason to hack the main .qsf file.
H. Peter Anvin 3 anni fa
parent
commit
402d7ff8af
2 ha cambiato i file con 0 aggiunte e 23 eliminazioni
  1. 0 11
      Makefile
  2. 0 12
      pin2qsf.pl

+ 0 - 11
Makefile

@@ -1,11 +0,0 @@
-PERL = perl
-
-all: max80.qsf
-
-# Ugly hack, because Quartus edits max80.qsf directly
-%.qsf: %.pins.qsf
-	grep -v '^set_location_assignment *PIN_' $@ > $*.nopins.qsf
-	cat $*.nopins.qsf $< > $@
-
-%.pins.qsf: %.pins pin2qsf.pl
-	$(PERL) pin2qsf.pl < $< > $@

+ 0 - 12
pin2qsf.pl

@@ -1,12 +0,0 @@
-#!/usr/bin/perl
-
-while ( defined($line = <STDIN>) ) {
-    chomp $line;
-    $line =~ s/^\#.*$//;	# Remove comments
-
-    if ( $line =~ /^\s*(\S+)\s+(\S+)/ ) {
-	$pin    = $1;
-	$signal = $2;
-	print "set_location_assignment PIN_\U${pin}\E -to \"${signal}\"\n";
-    }
-}