fix: three utility bugs in compare, LUT, and triangular waveform scripts

- compare.py: capture max_abs_error return values and add pass/fail
  check (was silently discarded, missing outlier detection)
- LUT.py: replace no-op pass with actual print of 8-bit Verilog values
- Gen_Triangular.py: fix plt.plot(2*n, y) -> plt.plot(t, x) scalar vs
  array bug that produced broken time-domain plot
This commit is contained in:
Formatted
2026-04-24 02:00:00 +00:00
committed by Roni Vegh
parent a8aefc4f61
commit 2b5c6592df
3 changed files with 18 additions and 8 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ plt.xlim(0, (fmax+fmax/10))
plt.ylim(0, 20)
plt.subplot(122)
plt.plot(2*n, y)
plt.plot(t, x)
plt.xlabel('Time (s)')
plt.ylabel('Amplitude')
plt.tight_layout()