mirror of
https://github.com/NawfalMotii79/PLFM_RADAR.git
synced 2026-06-08 22:47:16 +00:00
Merge pull request #127 from Formatted/fix/three-bugs-onto-develop
fix: three utility bugs in compare, LUT, and triangular waveform scripts
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -21,4 +21,4 @@ y_scaled = np.round(y * 127.5).astype(int) # Scale to 8-bit range (0-255)
|
||||
|
||||
# Print values in Verilog-friendly format
|
||||
for _i in range(n):
|
||||
pass
|
||||
print(f"8'd{y_scaled[_i]},")
|
||||
|
||||
Reference in New Issue
Block a user