Skip to content

Instantly share code, notes, and snippets.

View uenoku's full-sized avatar
🏠

Hideto Ueno uenoku

🏠
View GitHub Profile
@uenoku
uenoku / FPU.mlir
Created October 12, 2024 19:19
FPU hw
// Created from https://github.com/circt/perf/blob/trunk/regress/FPU.fir
module {
hw.module @FPU(in %clock : !seq.clock, in %reset : i1, in %io_inst : i32, in %io_fromint_data : i64, in %io_fcsr_rm : i3, out io_fcsr_flags_valid : i1, out io_fcsr_flags_bits : i5, out io_store_data : i64, out io_toint_data : i64, in %io_dmem_resp_val : i1, in %io_dmem_resp_type : i3, in %io_dmem_resp_tag : i5, in %io_dmem_resp_data : i64, in %io_valid : i1, out io_fcsr_rdy : i1, out io_nack_mem : i1, out io_illegal_rm : i1, in %io_killx : i1, in %io_killm : i1, out io_dec_cmd : i5, out io_dec_ldst : i1, out io_dec_wen : i1, out io_dec_ren1 : i1, out io_dec_ren2 : i1, out io_dec_ren3 : i1, out io_dec_swap12 : i1, out io_dec_swap23 : i1, out io_dec_single : i1, out io_dec_fromint : i1, out io_dec_toint : i1, out io_dec_fastpipe : i1, out io_dec_fma : i1, out io_dec_div : i1, out io_dec_sqrt : i1, out io_dec_wflags : i1, out io_sboard_set : i1, out io_sboard_clr : i1, out io_sboard_clra : i5, out io_cp_req_ready : i1, in %io_cp