室橋/FLOPOCO
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[室橋/研究]]
link~
http://www.ens-lyon.fr/LIP/Arenaire/Ware/FloPoCo/
*FLOPOCO [#m1b565ee]
-FPGAのための浮動小数点コアジェネレータ
--FloPoCo is a generator of operators written in C++ and outputting synthesizable VHDL.
-Todo
--PGDLで使える演算子を調べる。
--加減算○、乗算○、除算×らしい。そこらへん調べる。
--テーブルの演算 [f(x)とかの関数] f(y/x)とかで除算実現?
-------------------------------------------------
CygwinでのFlopoco実行方法
実行ファイル(ex:flopoco.exe)のあるディレクトリで
./flopoco // 実行
./flopoco FPLog 8 12 // VHDL生成
8 と 12 の意味はまだ不明。奥山先生が例で使った数字。マニュアル読みましょう。
-------------------------------------------------
**Available operators [#l368fee2]
-Useful building blocks for FP operators
--LeftShifter wIn MaxShift
--RightShifter wIn MaxShift
--LZOC wIn wOut
--LZOCShifterSticky wIn wOut computeSticky countType
-Pipelined integer standard operators
--IntAdder wIn
--IntMultiplier wInX wInY
--IntSquarer wInX wInY
-Classical floating-point operators
--FPMultiplier wE wF
--FPAdder wE wF
--FPDiv wE wF
-Long fixed-point accumulator, and derivatives
--LongAcc wE_in wF_in MaxMSB_in LSB_acc MSB_acc
--DotProduct wE_in wF_X wF_Y MaxMSB_in LSB_acc MSB_acc
--LongAcc2FP MaxMSB_in LSB_acc MSB_acc wE_out wF_out
-Constant multipliers
--IntConstMult w c
--FPConstMult wE_in wF_in wEout wF_out cst_sgn cst_exp cst_int_sig
-Floating-point elementary functions
--FPExp wE wF
--FPLog wE wF
-HOTBM
-LNS
--LNSAddSub wE wF
--LNSMul wE wF
--LNSDiv wE wF
--LNSSqrt wE wF
-Test Benches
**ASAP [#dc051ee2]
-各演算操作を可能な限り早い時刻に割り当てるスケジューリング。
例 : x = (a*b) * (c*d) - e - (f - (g*h))~
~
a b c d e f g h ~
----------------------------~
時刻1 (*1) (*2) (*3)~
----------------------------~
時刻2 (*4) (-1)~
----------------------------~
時刻3 (-2)~
----------------------------~
時刻4 (-3)~
----------------------------~
x
-( ) の数字は演算子とその出現回数~
終了行:
[[室橋/研究]]
link~
http://www.ens-lyon.fr/LIP/Arenaire/Ware/FloPoCo/
*FLOPOCO [#m1b565ee]
-FPGAのための浮動小数点コアジェネレータ
--FloPoCo is a generator of operators written in C++ and outputting synthesizable VHDL.
-Todo
--PGDLで使える演算子を調べる。
--加減算○、乗算○、除算×らしい。そこらへん調べる。
--テーブルの演算 [f(x)とかの関数] f(y/x)とかで除算実現?
-------------------------------------------------
CygwinでのFlopoco実行方法
実行ファイル(ex:flopoco.exe)のあるディレクトリで
./flopoco // 実行
./flopoco FPLog 8 12 // VHDL生成
8 と 12 の意味はまだ不明。奥山先生が例で使った数字。マニュアル読みましょう。
-------------------------------------------------
**Available operators [#l368fee2]
-Useful building blocks for FP operators
--LeftShifter wIn MaxShift
--RightShifter wIn MaxShift
--LZOC wIn wOut
--LZOCShifterSticky wIn wOut computeSticky countType
-Pipelined integer standard operators
--IntAdder wIn
--IntMultiplier wInX wInY
--IntSquarer wInX wInY
-Classical floating-point operators
--FPMultiplier wE wF
--FPAdder wE wF
--FPDiv wE wF
-Long fixed-point accumulator, and derivatives
--LongAcc wE_in wF_in MaxMSB_in LSB_acc MSB_acc
--DotProduct wE_in wF_X wF_Y MaxMSB_in LSB_acc MSB_acc
--LongAcc2FP MaxMSB_in LSB_acc MSB_acc wE_out wF_out
-Constant multipliers
--IntConstMult w c
--FPConstMult wE_in wF_in wEout wF_out cst_sgn cst_exp cst_int_sig
-Floating-point elementary functions
--FPExp wE wF
--FPLog wE wF
-HOTBM
-LNS
--LNSAddSub wE wF
--LNSMul wE wF
--LNSDiv wE wF
--LNSSqrt wE wF
-Test Benches
**ASAP [#dc051ee2]
-各演算操作を可能な限り早い時刻に割り当てるスケジューリング。
例 : x = (a*b) * (c*d) - e - (f - (g*h))~
~
a b c d e f g h ~
----------------------------~
時刻1 (*1) (*2) (*3)~
----------------------------~
時刻2 (*4) (-1)~
----------------------------~
時刻3 (-2)~
----------------------------~
時刻4 (-3)~
----------------------------~
x
-( ) の数字は演算子とその出現回数~
ページ名: