FPGA programmiert

This commit is contained in:
Brandl
2024-12-18 10:03:57 +01:00
parent c9ca4d965a
commit baa5aa4c74
105 changed files with 1728 additions and 29 deletions
+2 -2
View File
@@ -16,9 +16,9 @@ int task_crc_run( void * task ) {
for (uint32_t i = 0; i < DATA_CHANNEL_DEPTH; ++i) {
float_word a;
data_channel_read(config->base.sources[0], (uint32_t * ) & a.value );
if (i<10) {printf("\n Input %i DATA; %x\ CRC: %x\n", i, a.word, value);}
//if (i<10) {printf("\n Input %i DATA; %x\ CRC: %x\n", i, a.word, value);}
berechne_crc32(a.word, &value); //Startwert jedes Mal, oder mit vorheriger crc starten?
if (i<10) {printf("\n CRC Zwischenwert Output(%i): %x\n", i, value);}
//if (i<10) {printf("\n CRC Zwischenwert Output(%i): %x\n", i, value);}
}
printf("CRC Wert: %x\n", value);
data_channel_write( config->base.sink, value);
+6 -6
View File
@@ -8,13 +8,13 @@
int main()
{
uint32_t bindings[ TASK_COUNT ] = {
BINDING_SW,
BINDING_SW,
BINDING_SW,
BINDING_SW,
BINDING_HW,
BINDING_SW,
BINDING_SW
BINDING_HW,
BINDING_HW,
BINDING_HW,
BINDING_HW,
BINDING_HW,
BINDING_HW
};
SignalProcessing system;