diff --git a/main.go b/main.go index d9aeacf..3bf2852 100644 --- a/main.go +++ b/main.go @@ -92,10 +92,10 @@ func main() { fatalIf(err) option := generator.Option{ - VLEN: generator.VLEN(*vlenF), - XLEN: generator.XLEN(*xlenF), - Repeat: *repeatF, - Float16: *float16F, + VLEN: generator.VLEN(*vlenF), + XLEN: generator.XLEN(*xlenF), + Repeat: *repeatF, + Float16: *float16F, } if (!strings.HasPrefix(file.Name(), "vf") && !strings.HasPrefix(file.Name(), "vmf")) || strings.HasPrefix(file.Name(), "vfirst") { option.Repeat = 1 @@ -135,4 +135,4 @@ func writeTo(path string, name string, contents string) { fatalIf(err) err = os.WriteFile(filepath.Join(path, name), []byte(contents), 0644) fatalIf(err) -} \ No newline at end of file +} diff --git a/single/single.go b/single/single.go index 31584f4..17a1a48 100644 --- a/single/single.go +++ b/single/single.go @@ -50,9 +50,9 @@ func main() { testfloat3.SetLevel(*testfloat3LevelF) option := generator.Option{ - VLEN: generator.VLEN(*vlenF), - XLEN: generator.XLEN(*xlenF), - Repeat: *repeatF, + VLEN: generator.VLEN(*vlenF), + XLEN: generator.XLEN(*xlenF), + Repeat: *repeatF, Float16: *float16F, }