Created
January 16, 2015 13:22
-
-
Save russdill/85eb3eebefd8909605f6 to your computer and use it in GitHub Desktop.
nor-fast.cir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EYE_PATTERN=$(DARTER_PATH)/eye-pattern.py | |
CHECK_TIMING=$(DARTER_PATH)/check_timing.py | |
CHECK_VALUES=$(DARTER_PATH)/check_values.py | |
nor.net: nor_clock.sch \ | |
nor_in.sch \ | |
nor_out.sch \ | |
nor_power.sch \ | |
nor.sch \ | |
nor_select.sch | |
%.net: %.sch | |
gnetlist -g spice-sdb -o $@ $^ | |
nor-*.raw: nor.cir nor.net | |
nor-%.check: nor-%.raw | |
$(CHECK_VALUES) -v x_n25q_ck.meas -l -0.5 -h 2.3 $< | |
$(CHECK_VALUES) -v x_n25q_s.meas -l -0.5 -h 2.3 $< | |
$(CHECK_VALUES) -v x_n25q_in.meas -l -0.5 -h 2.3 $< | |
$(CHECK_VALUES) -v x_n25q_out.meas -l -0.5 -h 2.3 $< | |
$(CHECK_TIMING) -v x_n25q_in.state -V x_n25q_in.violation -r x_n25q_ck.state -s 2n -h 3n -M x_n25q_in.dc_margin $< | |
$(CHECK_TIMING) -v x_n25q_s.state -V x_n25q_s.violation -r x_n25q_ck.state -s 4n -h 4n -M x_n25q_s.dc_margin $< | |
$(CHECK_TIMING) -V x_n25q_out.violation $< | |
$(CHECK_TIMING) -V x_v6_ck.violation $< | |
$(CHECK_TIMING) -V x_v6_s.violation $< | |
$(CHECK_TIMING) -V x_v6_in.violation $< | |
# -1L speed grade, tIDOCKD (IODELAY), tIOCKD (no IODELAY) | |
$(CHECK_TIMING) -v x_v6_out.state -V x_v6_out.violation -r x_v6_ck.up -s 160p -h 640p -M x_v6_out.dc_margin $< | |
nor_ck-%.png: nor-%.raw | |
$(EYE_PATTERN) -w 16.66666667n -v x_n25q_ck.meas -p 8.333333333n -o 5.833333333n -s 8.333333333n $< $@ | |
nor_s-%.png: nor-%.raw | |
$(EYE_PATTERN) -w 33.33333333n -v x_n25q_s.meas -p 16.66666667n -o 0n -s 8.333333333n $< $@ | |
nor_in-%.png: nor-%.raw | |
$(EYE_PATTERN) -w 33.33333333n -v x_n25q_in.meas -t x_n25q_ck.state -r 1 $< $@ | |
nor_out-%.png: nor-%.raw | |
$(EYE_PATTERN) -w 33.33333333n -v x_n25q_out.meas -t x_n25q_ck.state -r 1 $< $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment