Erfolgreiche Bearbeitung der ersten Praktikumsaufgabe add und Erstellung der Struktur und Lookuptable für sine

This commit is contained in:
bleichda78620 committed 2024-11-20 11:33:53 +01:00
1 parent 0d1b73e3e0
commit ab82ab9395
210 files changed
+25108 -12

No files matched your search

Whitespace-only changes.
@@ -0,0 +1 @@
float_data = [2.000000e+00,2.779374e+00,3.526787e+00,4.213405e+00,4.812656e+00,5.301255e+00,5.660092e+00,5.874974e+00,5.937166e+00,5.843728e+00,5.597631e+00,5.207641e+00,4.687980e+00,4.057790e+00,3.340388e+00,2.562374e+00,1.752613e+00,9.411230e-01,1.579220e-01,-5.681200e-01,-1.210393e+00,-1.745568e+00,-2.154492e+00,-2.422919e+00,-2.542063e+00,-2.508927e+00,-2.326424e+00,-2.003255e+00,-1.553580e+00,-9.964671e-01,-3.551639e-01,3.438061e-01,1.071653e+00,1.798444e+00,2.494241e+00,3.130262e+00,3.679985e+00,4.120173e+00,4.431767e+00,4.600617e+00,4.618034e+00,4.481123e+00,4.192898e+00,3.762166e+00,3.203190e+00,2.535150e+00,1.781400e+00,9.685777e-01,1.255806e-01,-7.175397e-01,-1.530734e+00,-2.285103e+00,-2.954008e+00,-3.514094e+00,-3.946185e+00,-4.236010e+00,-4.374763e+00,-4.359427e+00,-4.192897e+00,-3.883861e+00,-3.446462e+00,-2.899757e+00,-2.266983e+00,-1.574657e+00,-8.515586e-01,-1.276198e-01,5.672265e-01,1.204198e+00,1.756773e+00,2.201711e+00,2.519947e+00,2.697327e+00,2.725152e+00,2.600517e+00,2.326424e+00,1.911666e+00,1.370490e+00,7.220590e-01,-1.029205e-02,-7.999488e-01,-1.618034e+00,-2.434522e+00,-3.219390e+00,-3.943765e+00,-4.581040e+00,-5.107891e+00,-5.505172e+00,-5.758650e+00,-5.859553e+00,-5.804902e+00,-5.597631e+00,-5.246466e+00,-4.765594e+00,-4.174114e+00,-3.495308e+00,-2.755738e+00,-1.984229e+00,-1.210763e+00,-4.653190e-01,2.232680e-01,8.284271e-01,1.326865e+00,1.699465e+00,1.932017e+00,2.015771e+00,1.947764e+00,1.730944e+00,1.374046e+00,8.912611e-01,3.016942e-01,-3.713790e-01,-1.101400e+00,-1.859553e+00,-2.615870e+00,-3.340388e+00,-4.004294e+00,-4.581041e+00,-5.047362e+00,-5.384174e+00,-5.577302e+00,-5.618034e+00,-5.503451e+00,-5.236544e+00,-4.826101e+00,-4.286365e+00,-3.636495e+00,-2.899828e+00,-2.102985e+00,-1.274848e+00,-4.454527e-01,3.551630e-01,1.098114e+00,1.756774e+00,2.307795e+00,2.732011e+00,3.015160e+00,3.148442e+00,3.128845e+00,2.959269e+00,2.648403e+00,2.210393e+00,1.664299e+00,1.033354e+00,3.440749e-01,-3.747627e-01,-1.093230e+00,-1.781400e+00,-2.410497e+00,-2.954008e+00,-3.388699e+00,-3.695518e+00,-3.860319e+00,-3.874419e+00,-3.734925e+00,-3.444852e+00,-3.013011e+00,-2.453666e+00,-1.785994e+00,-1.033354e+00,-2.223782e-01,6.180345e-01,1.457838e+00,2.266983e+00,3.016576e+00,3.679985e+00,4.233859e+00,4.659025e+00,4.941224e+00,5.071653e+00,5.047308e+00,4.871089e+00,4.551693e+00,4.103275e+00,3.544905e+00,2.899828e+00,2.194575e+00,1.457937e+00,7.198610e-01,1.029301e-02,-6.419711e-01,-1.210393e+00,-1.671717e+00,-2.006862e+00,-2.201657e+00,-2.247386e+00,-2.141128e+00,-1.885864e+00,-1.490370e+00,-9.688752e-01,-3.405190e-01,3.713790e-01,1.140226e+00,1.937166e+00,2.732194e+00,3.495309e+00,4.197658e+00,4.812656e+00,5.317002e+00,5.691571e+00,5.922154e+00,6.000000e+00,5.922154e+00,5.691571e+00,5.317003e+00,4.812656e+00,4.197658e+00,3.495308e+00,2.732194e+00,1.937166e+00,1.140226e+00,3.713790e-01,-3.405190e-01,-9.688742e-01,-1.490369e+00,-1.885864e+00,-2.141128e+00,-2.247387e+00,-2.201657e+00,-2.006862e+00,-1.671718e+00,-1.210394e+00,-6.419711e-01,1.029205e-02,7.198611e-01,1.457937e+00,2.194575e+00,2.899828e+00,3.544905e+00,4.103275e+00,4.551692e+00,4.871088e+00,5.047308e+00,5.071653e+00,4.941224e+00,4.659025e+00,4.233860e+00,3.679985e+00,3.016576e+00,2.266983e+00,1.457837e+00,6.180338e-01,-2.223787e-01,-1.033354e+00,-1.785995e+00,-2.453665e+00,-3.013009e+00,-3.444852e+00,-3.734925e+00,-3.874419e+00,-3.860320e+00,-3.695518e+00,-3.388701e+00,-2.954009e+00,-2.410497e+00,-1.781401e+00,-1.093230e+00,-3.747630e-01,3.440749e-01,1.033354e+00,1.664299e+00,2.210393e+00,2.648402e+00,2.959269e+00,3.128845e+00,3.148442e+00,3.015160e+00,2.732011e+00,2.307796e+00,1.756773e+00,1.098114e+00,3.551630e-01,-4.454528e-01,-1.274848e+00,-2.102985e+00,-2.899828e+00,-3.636494e+00,-4.286364e+00,-4.826100e+00,-5.236544e+00,-5.503451e+00,-5.618034e+00,-5.577302e+00,-5.384174e+00,-5.047363e+00,-4.581041e+00,-4.004294e+00,-3.340388e+00,-2.615870e+00,-1.859553e+00,-1.101400e+00,-3.713790e-01,3.016942e-01,8.912611e-01,1.374045e+00,1.730944e+00,1.947764e+00,2.015771e+00,1.932017e+00,1.699465e+00,1.326866e+00,8.284271e-01,2.232680e-01,-4.653190e-01,-1.210763e+00,-1.984229e+00,-2.755738e+00,-3.495308e+00,-4.174114e+00,-4.765593e+00,-5.246465e+00,-5.597631e+00,-5.804902e+00,-5.859553e+00,-5.758650e+00,-5.505172e+00,-5.107892e+00,-4.581042e+00,-3.943765e+00,-3.219390e+00,-2.434522e+00,-1.618034e+00,-7.999487e-01,-1.029205e-02,7.220590e-01,1.370490e+00,1.911664e+00,2.326424e+00,2.600517e+00,2.725152e+00,2.697327e+00,2.519947e+00,2.201712e+00,1.756774e+00,1.204198e+00,5.672265e-01,-1.276198e-01,-8.515589e-01,-1.574657e+00,-2.266983e+00,-2.899757e+00,-3.446461e+00,-3.883860e+00,-4.192897e+00,-4.359427e+00,-4.374762e+00,-4.236010e+00,-3.946184e+00,-3.514095e+00,-2.954009e+00,-2.285102e+00,-1.530734e+00,-7.175390e-01,1.255814e-01,9.685774e-01,1.781400e+00,2.535149e+00,3.203189e+00,3.762165e+00,4.192898e+00,4.481123e+00,4.618034e+00,4.600617e+00,4.431767e+00,4.120174e+00,3.679985e+00,3.130262e+00,2.494241e+00,1.798444e+00,1.071653e+00,3.4380Line truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,65 @@
# vsim -voptargs="+acc" -c work.test_task_add_sine_cosine -do "set StdArithNoWarnings 1; set NumericStdNoWarnings 1; run -all" -gCHECK_RESULTS=false
# Start time: 10:04:00 on Nov 20,2024
# ** Note: (vsim-3813) Design is being optimized due to module recompilation...
# ** Warning: (vopt-10587) Some optimizations are turned off because the +acc switch is in effect. This will cause your simulation to run slowly. Please use -access/-debug to maintain needed visibility.
# ** Note: (vopt-143) Recognized 2 FSMs in architecture body "add(rtl)".
# ** Note: (vsim-12126) Error and warning message counts have been restored: Errors=0, Warnings=1.
# // Questa Sim-64
# // Version 2023.2 linux_x86_64 Apr 11 2023
# //
# // Copyright 1991-2023 Mentor Graphics Corporation
# // All Rights Reserved.
# //
# // QuestaSim and its associated documentation contain trade
# // secrets and commercial or financial information that are the property of
# // Mentor Graphics Corporation and are privileged, confidential,
# // and exempt from disclosure under the Freedom of Information Act,
# // 5 U.S.C. Section 552. Furthermore, this information
# // is prohibited from disclosure under the Trade Secrets Act,
# // 18 U.S.C. Section 1905.
# //
# Loading std.standard
# Loading std.textio(body)
# Loading ieee.std_logic_1164(body)
# Loading ieee.numeric_std(body)
# Loading ieee.fixed_float_types
# Loading ieee.math_real(body)
# Loading ieee.fixed_generic_pkg(body)
# Loading ieee.float_generic_pkg(body)
# Loading ieee.fixed_pkg
# Loading ieee.float_pkg
# Loading work.reg32(body)
# Loading work.avalon_slave
# Loading work.test_utility(body)
# Loading work.test_avalon_slave(body)
# Loading work.task(body)
# Loading work.sine_data
# Loading work.test_hardware_task(body)
# Loading work.test_data_channel_pkg(body)
# Loading std.env(body)
# Loading work.cosine_data
# Loading work.sine_cosine_data
# Loading work.test_task_add_sine_cosine(test)#1
# Loading work.task_add(struct)#1
# Loading work.hardware_task_control(rtl)#1
# Loading work.avalon_slave_transitions(rtl)#1
# Loading work.add(rtl)#1
# Loading work.float_add(mixed)#1
# Loading work.data_channel(struct)#1
# Loading work.data_channel_control(rtl)#1
# Loading work.avalon_slave_transitions(rtl)#2
# Loading work.data_sink_mux(rtl)#1
# Loading work.fifo(rtl)#1
# Loading work.data_source_mux(rtl)#1
# set StdArithNoWarnings 1
# 1
# set NumericStdNoWarnings 1
# 1
# run -all
# --------------------------------------------------------------------------------
# Starting test_task_add_sine_cosine
# test_configure ... [ OK ]
# test_execute ... [ OK ]
# write_content ... [ OK ]
# End time: 10:04:01 on Nov 20,2024, Elapsed time: 0:00:01
# Errors: 0, Warnings: 1
Binary file not shown.
Whitespace-only changes.
Whitespace-only changes.
File diff suppressed because it is too large. Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
m255
K4
z0
cModel Technology