HDLBits - Dff8p
·
HDLBits/Circuits
요구사항이 negedge clk와 reset시에 0x34를 넣으라는 문제module top_module ( input clk, input reset, input [7:0] d, output [7:0] q); always @(negedge clk)begin if(reset) q
HDLBits - Dff8r
·
HDLBits/Circuits
module top_module ( input clk, input reset, // Synchronous reset input [7:0] d, output [7:0] q); always @(posedge clk) begin if(reset) q RESET신호가 추가된 DFF (Synchronous)
HDLBits - Dff8
·
HDLBits/Circuits
module top_module ( input clk, input [7:0] d, output [7:0] q); always @(posedge clk) begin q 이전.. 코드랑 똑같은 8bit짜리 DFF
HDLBits - Dff
·
HDLBits/Circuits
module top_module ( input clk, // Clocks are used in sequential circuits input d, output reg q );// always @(posedge clk) begin q 간단한 D Flip Flop
공채 끝
·
취업
총 9개 기업에 넣었고 이제 기다릴차례
Quartus - Signal Tap
·
IDEC 교육
FPGA 내부 신호를 읽어서 디버깅에 도움을 주는 Signal Tap 사용 방법Basic ANDall Signals triggered = CaptureBasic ORone of the Signals triggered = CaptureComparisionCompares value with conditionsAdvancedCreates complex trigger
Day 4 - 7-seg BCD Counter
·
IDEC 교육/Verilog HDL
// BCD Counter with modulo Kmodule alu_ex3 #( parameter N = 32, parameter K = 10, parameter M = 3)( input wire clk, input wire rstn, output wire [6:0] bcd0, output wire [6:0] bcd1, output wire [6:0] bcd2);wire roll0, roll1, roll2;wire [ 3:0] led[0:2];modulo_cnt #(.K(50000000)) u_cnt_base (.clk(clk), .rstn(rstn), .ena(1'b1 ), .led( ), .roll(roll0)..
Day 4 - 7-Segment Decoder
·
IDEC 교육/Verilog HDL
Code// 7-Segment Displaymodule alu_ex1 ( input wire clk, input wire rstn, input wire [1:0] digit, output reg [6:0] seg);always @(posedge clk, negedge rstn) begin if (~rstn) seg clk와 rstn은 없어도 되는데 그냥 생각없이 만들다가 넣어서 귀찮아서 놔둠7 Seg 같은 경우 DE2-115를 사용중이기 때문에 Ref 파일을 보면 0이 켜는거고 1이 끄는것이며각각 PIN을 연결해주면 완성이다.