Skip to content
Rain Hu's Workspace
Go back

[VHDL] HDLbits 1 - Getting Started

Rain Hu

HDLBits

HDLBits 是一系列小型電路設計的練習,用於使用 Verilog 硬體描述語言(HDL)進行數位硬體設計。 由教學的題型由淺入深,逐步建立起電路設計的技能。 每個問題都會要求讀者使用 Verilog 設計一個小電路。HDLBits 會對提交的程式碼作判讀。透過一組測試碼來進行向量模擬,並與解答比較,檢查正確性。

Catalog

1. Getting Started
2. Verilog Language
3. Circuits
4. Verification: Reading Simulations
5. Verification: Writing Testbenches
6. CS450

1 Getting Started

\(\text{assign one}\)

module top_module( output one);
    
    assign one = 1'b1;

endmodule

\(\text{assign zero}\)

module top_module(
    output zero );

    assign zero = 1'b0;

endmodule

Share this post on:

Previous
[C++] The C++ Standard Template Library(STL) - pair
Next
[VHDL] HDLbits 2 - Verilog Language