C++に投稿されたコード一覧
top.vhdにて SRAM_DQ <= Dout when DEn='0' else (others=>'Z'); // DE1 512KB SRAM IS61LV25616 circuit sram_ctrl
circuit VGA_ctrl { input ht_su<10>, ht_vu<10>, ht_nu<10>, ht_nd<10>, ht_vd<10>, ht_sd<10>;
// 連続key onのために一旦初期状態に戻す stage src_read { reg_wr bk_count<3>; state_name st_getsl, st_getsh, st_head, st_data; first_state st_getsl;
module test; wire signed [7:0] data1; wire signed [7:0] data2; assign data1 = 8'b10000001; assign data2 = data1 <<< 2;
module test (dout, co); output [7:0] dout; output co; assign {co, dout} = $signed(8'b10000001) <<< 2;
declare pshid { output hid_clock, hid_select, hid_command; input hid_data, hid_ack; output hid_button[16]; }
declare test { func_out f1(), f2(), f3(); }
/* 基幹システム・関数ポインタによる処理実行クラス */ #pragma once #include <windows.h>
int _tmain(int argc _TCHAR* argv[]) { _tprintf(_T("Hello World!!")); return 0; }
#include <iostream> using namespace std; int main()