home *** CD-ROM | disk | FTP | other *** search
- ; This example demonstrates situations
- ; where the PLDshell design compiler can
- ; and cannot fit a design to the EPX780
- ; due to constraints on the comparator.
- ; Essentially, only one comparator can be
- ; used in each CFB.
- ;
- ; SET COMPILER OPTIONS TO:
- ; Use Design Pin Assignments, but not
- ; Previous, Abort on no fit
-
- CHIP product NFX780_84
-
- PIN a[0:7] ; eight inputs
- PIN 82 o1 ; first comparator output
-
- ; this is a second comparator output in the
- ; same CFB as o1. It won't fit!
- ;PIN 83 o2 ; second comparator output
-
- ; this is a second comparator output in a
- ; DIFFERENT CFB from o1. It will fit!
- PIN 7 o2 ; second comparator output
-
- EQUATIONS
-
- ; here's a 4-bit comparison
- o1.CMP = [a[0:3]] == [a[4:7]]
-
- ; here's another 2-bit comparison
- o2.CMP = [a[0:1]] == [a[2:3]]
-