2023년 5월 13일 토요일

Verilog Image Processing

 






https://kr.mathworks.com/matlabcentral/answers/377607-how-to-replace-negative-elements-in-a-matrix-with-zeros
How to replace negative elements in a Matrix with Zeros ?




module image_read
#(
parameter WIDTH = 768,                            //image width
                HEIGHT - 512,                          //image height
                INFILE = "kodim23.hex",            //image file
                START_UP_DELAY = 100,
                HSYNC_DELAY = 169,
                VALUE=100,
                THRESHOLD = 90,
                SIGN = 0
)
(
    input HCLK,            //clock
    input HRESETn,        //Reset (active low)
    output VSYNC,
    // This signal is often a way to indicate that one entire image
    output reg HSYNC,
    output reg []

댓글 없음:

댓글 쓰기