This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+BSCH3_DATA_V.1.0 | |
+SHEETINFO,EL:7,VL:255,W:1000,H:750,PROJ:,PAGES:1,PAGE:1,VER:82,INITPOS:0,-SHEETINFO | |
+DASH,L:0,X1:200,Y1:460,X2:200,Y2:510,CURV:0,CTX1:-30,CTY1:60,CTX2:-30,CTY2:60,WDT:1,LS:DASH,SSTL:NORM,ESTL:NORM,EMS:8,-DASH | |
+DASH,L:0,X1:200,Y1:510,X2:270,Y2:510,CURV:0,CTX1:-30,CTY1:60,CTX2:-30,CTY2:60,WDT:1,LS:DASH,SSTL:NORM,ESTL:NORM,EMS:8,-DASH | |
+DASH,L:0,X1:270,Y1:510,X2:220,Y2:510,CURV:0,CTX1:-30,CTY1:60,CTX2:-30,CTY2:60,WDT:1,LS:DASH,SSTL:NORM,ESTL:NORM,EMS:8,-DASH | |
+DASH,L:0,X1:200,Y1:460,X2:280,Y2:460,CURV:0,CTX1:-30,CTY1:60,CTX2:-30,CTY2:60,WDT:1,LS:DASH,SSTL:NORM,ESTL:NORM,EMS:8,-DASH | |
+DASH,L:0,X1:280,Y1:460,X2:280,Y2:510,CURV:0,CTX1:-30,CTY1:60,CTX2:-30,CTY2:60,WDT:1,LS:DASH,SSTL:NORM,ESTL:NORM,EMS:8,-DASH | |
+DASH,L:0,X1:280,Y1:510,X2:270,Y2:510,CURV:0,CTX1:-30,CTY1:60,CTX2:-30,CTY2:60,WDT:1,LS:DASH,SSTL:NORM,ESTL:NORM,EMS:8,-DASH | |
+WIRE,L:0,X1:240,Y1:220,X2:240,Y2:230,-WIRE | |
+JUNCTION,L:0,X:240,Y:230,-JUNCTION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+BSCH3_DATA_V.1.0 | |
+SHEETINFO,EL:1,VL:255,W:1000,H:750,-SHEETINFO | |
+COMMENT,L:7,X:690,Y:680,W:-1,S:日付,FN:Tahoma,TAG:0,FS:16,FF:,-COMMENT | |
+COMMENT,L:7,X:690,Y:740,W:-1,S:設計,FN:Tahoma,TAG:0,FS:16,FF:,-COMMENT | |
+COMMENT,L:7,X:690,Y:650,W:-1,S:図名,FN:Tahoma,TAG:0,FS:16,FF:,-COMMENT | |
+COMMENT,L:7,X:850,Y:680,W:-1,S:図番,FN:Tahoma,TAG:0,FS:16,FF:,-COMMENT | |
+WIRE,L:7,X1:840,Y1:650,X2:840,Y2:680,-WIRE | |
+BUS,L:7,X1:680,Y1:620,X2:680,Y2:740,-BUS | |
+JUNCTION,L:7,X:740,Y:650,-JUNCTION | |
+JUNCTION,L:7,X:740,Y:680,-JUNCTION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`define max 2 | |
`define length 22 | |
module slot_machine(clk, sw, btn0, btn1, btn2, led7_0, led7_1, led7_2, led10); | |
input clk, sw, btn0, btn1, btn2; | |
output [6:0] led7_0, led7_1, led7_2; | |
output [9:0] led10; | |
reg [1:0] state; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+BSCH3_DATA_V.1.0 | |
+SHEETINFO,EL:7,VL:255,W:1000,H:750,PROJ:,PAGES:1,PAGE:1,VER:82,INITPOS:0,-SHEETINFO | |
+COMMENT,L:7,X:690,Y:680,D:1,W:-1,S:日付,FN:Tahoma,TAG:0,FS:16,FF:,-COMMENT | |
+COMMENT,L:7,X:690,Y:740,D:1,W:-1,S:設計,FN:Tahoma,TAG:0,FS:16,FF:,-COMMENT | |
+COMMENT,L:7,X:690,Y:650,D:1,W:-1,S:図名,FN:Tahoma,TAG:0,FS:16,FF:,-COMMENT | |
+COMMENT,L:7,X:850,Y:680,D:1,W:-1,S:図番,FN:Tahoma,TAG:0,FS:16,FF:,-COMMENT | |
+WIRE,L:7,X1:840,Y1:650,X2:840,Y2:680,-WIRE | |
+BUS,L:7,X1:680,Y1:620,X2:680,Y2:740,-BUS | |
+JUNCTION,L:7,X:740,Y:650,-JUNCTION | |
+JUNCTION,L:7,X:740,Y:680,-JUNCTION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# End-of-line conversion | |
* text=auto | |
*.bat text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(void) | |
{ | |
int v; // 計算対象値は整数型と浮動小数点型 | |
float w; | |
float wa,seki; // 計算結果は浮動小数点型変数に格納 | |
v = 10; // 計算対象値を代入 | |
w = 25.5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file q11175050116.c | |
* @brief 実数を降順に並べ、平均値以上の値を表示するプログラム | |
* @author Keitetsu | |
* @date 2017/06/10 | |
* @copyright Copyright (c) 2017 Keitetsu | |
*/ | |
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file n_num.c | |
* @brief 10進数の整数をN進数に基数変換する | |
* @author Keitetsu | |
* @date 2017/06/11 | |
* @copyright Copyright (c) 2017 Keitetsu | |
* @par License | |
* This software is released under the MIT License. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file q10175221270.c | |
* @brief 配列に5個の数値を格納し、最大値を使って小さい順(昇順)に並び替える | |
* @author Keitetsu | |
* @date 2017/06/11 | |
* @copyright Copyright (c) 2017 Keitetsu | |
* @par License | |
* This software is released under the MIT License. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file q10175187735.c | |
* @brief ファイルからN個の整数を読込み、配列に格納する | |
* @author Keitetsu | |
* @date 2017/06/11 | |
* @copyright Copyright (c) 2017 Keitetsu | |
* @par License | |
* This software is released under the MIT License. | |
*/ |
OlderNewer