1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
/* automatically generated by rust-bindgen */

pub type __uint8_t = ::std::os::raw::c_uchar;
pub type __uint32_t = ::std::os::raw::c_uint;
pub type __int64_t = ::std::os::raw::c_long;
pub type __uint64_t = ::std::os::raw::c_ulong;
pub type FILE = [u64; 27usize];
pub type fstHandle = u32;
pub const fstWriterPackType_FST_WR_PT_ZLIB: fstWriterPackType = 0;
pub const fstWriterPackType_FST_WR_PT_FASTLZ: fstWriterPackType = 1;
pub const fstWriterPackType_FST_WR_PT_LZ4: fstWriterPackType = 2;
pub type fstWriterPackType = u32;
pub const fstFileType_FST_FT_MIN: fstFileType = 0;
pub const fstFileType_FST_FT_VERILOG: fstFileType = 0;
pub const fstFileType_FST_FT_VHDL: fstFileType = 1;
pub const fstFileType_FST_FT_VERILOG_VHDL: fstFileType = 2;
pub const fstFileType_FST_FT_MAX: fstFileType = 2;
pub type fstFileType = u32;
pub const fstBlockType_FST_BL_HDR: fstBlockType = 0;
pub const fstBlockType_FST_BL_VCDATA: fstBlockType = 1;
pub const fstBlockType_FST_BL_BLACKOUT: fstBlockType = 2;
pub const fstBlockType_FST_BL_GEOM: fstBlockType = 3;
pub const fstBlockType_FST_BL_HIER: fstBlockType = 4;
pub const fstBlockType_FST_BL_VCDATA_DYN_ALIAS: fstBlockType = 5;
pub const fstBlockType_FST_BL_HIER_LZ4: fstBlockType = 6;
pub const fstBlockType_FST_BL_HIER_LZ4DUO: fstBlockType = 7;
pub const fstBlockType_FST_BL_VCDATA_DYN_ALIAS2: fstBlockType = 8;
pub const fstBlockType_FST_BL_ZWRAPPER: fstBlockType = 254;
pub const fstBlockType_FST_BL_SKIP: fstBlockType = 255;
pub type fstBlockType = u32;
pub const fstScopeType_FST_ST_MIN: fstScopeType = 0;
pub const fstScopeType_FST_ST_VCD_MODULE: fstScopeType = 0;
pub const fstScopeType_FST_ST_VCD_TASK: fstScopeType = 1;
pub const fstScopeType_FST_ST_VCD_FUNCTION: fstScopeType = 2;
pub const fstScopeType_FST_ST_VCD_BEGIN: fstScopeType = 3;
pub const fstScopeType_FST_ST_VCD_FORK: fstScopeType = 4;
pub const fstScopeType_FST_ST_VCD_GENERATE: fstScopeType = 5;
pub const fstScopeType_FST_ST_VCD_STRUCT: fstScopeType = 6;
pub const fstScopeType_FST_ST_VCD_UNION: fstScopeType = 7;
pub const fstScopeType_FST_ST_VCD_CLASS: fstScopeType = 8;
pub const fstScopeType_FST_ST_VCD_INTERFACE: fstScopeType = 9;
pub const fstScopeType_FST_ST_VCD_PACKAGE: fstScopeType = 10;
pub const fstScopeType_FST_ST_VCD_PROGRAM: fstScopeType = 11;
pub const fstScopeType_FST_ST_VHDL_ARCHITECTURE: fstScopeType = 12;
pub const fstScopeType_FST_ST_VHDL_PROCEDURE: fstScopeType = 13;
pub const fstScopeType_FST_ST_VHDL_FUNCTION: fstScopeType = 14;
pub const fstScopeType_FST_ST_VHDL_RECORD: fstScopeType = 15;
pub const fstScopeType_FST_ST_VHDL_PROCESS: fstScopeType = 16;
pub const fstScopeType_FST_ST_VHDL_BLOCK: fstScopeType = 17;
pub const fstScopeType_FST_ST_VHDL_FOR_GENERATE: fstScopeType = 18;
pub const fstScopeType_FST_ST_VHDL_IF_GENERATE: fstScopeType = 19;
pub const fstScopeType_FST_ST_VHDL_GENERATE: fstScopeType = 20;
pub const fstScopeType_FST_ST_VHDL_PACKAGE: fstScopeType = 21;
pub const fstScopeType_FST_ST_MAX: fstScopeType = 21;
pub const fstScopeType_FST_ST_GEN_ATTRBEGIN: fstScopeType = 252;
pub const fstScopeType_FST_ST_GEN_ATTREND: fstScopeType = 253;
pub const fstScopeType_FST_ST_VCD_SCOPE: fstScopeType = 254;
pub const fstScopeType_FST_ST_VCD_UPSCOPE: fstScopeType = 255;
pub type fstScopeType = u32;
pub const fstVarType_FST_VT_MIN: fstVarType = 0;
pub const fstVarType_FST_VT_VCD_EVENT: fstVarType = 0;
pub const fstVarType_FST_VT_VCD_INTEGER: fstVarType = 1;
pub const fstVarType_FST_VT_VCD_PARAMETER: fstVarType = 2;
pub const fstVarType_FST_VT_VCD_REAL: fstVarType = 3;
pub const fstVarType_FST_VT_VCD_REAL_PARAMETER: fstVarType = 4;
pub const fstVarType_FST_VT_VCD_REG: fstVarType = 5;
pub const fstVarType_FST_VT_VCD_SUPPLY0: fstVarType = 6;
pub const fstVarType_FST_VT_VCD_SUPPLY1: fstVarType = 7;
pub const fstVarType_FST_VT_VCD_TIME: fstVarType = 8;
pub const fstVarType_FST_VT_VCD_TRI: fstVarType = 9;
pub const fstVarType_FST_VT_VCD_TRIAND: fstVarType = 10;
pub const fstVarType_FST_VT_VCD_TRIOR: fstVarType = 11;
pub const fstVarType_FST_VT_VCD_TRIREG: fstVarType = 12;
pub const fstVarType_FST_VT_VCD_TRI0: fstVarType = 13;
pub const fstVarType_FST_VT_VCD_TRI1: fstVarType = 14;
pub const fstVarType_FST_VT_VCD_WAND: fstVarType = 15;
pub const fstVarType_FST_VT_VCD_WIRE: fstVarType = 16;
pub const fstVarType_FST_VT_VCD_WOR: fstVarType = 17;
pub const fstVarType_FST_VT_VCD_PORT: fstVarType = 18;
pub const fstVarType_FST_VT_VCD_SPARRAY: fstVarType = 19;
pub const fstVarType_FST_VT_VCD_REALTIME: fstVarType = 20;
pub const fstVarType_FST_VT_GEN_STRING: fstVarType = 21;
pub const fstVarType_FST_VT_SV_BIT: fstVarType = 22;
pub const fstVarType_FST_VT_SV_LOGIC: fstVarType = 23;
pub const fstVarType_FST_VT_SV_INT: fstVarType = 24;
pub const fstVarType_FST_VT_SV_SHORTINT: fstVarType = 25;
pub const fstVarType_FST_VT_SV_LONGINT: fstVarType = 26;
pub const fstVarType_FST_VT_SV_BYTE: fstVarType = 27;
pub const fstVarType_FST_VT_SV_ENUM: fstVarType = 28;
pub const fstVarType_FST_VT_SV_SHORTREAL: fstVarType = 29;
pub const fstVarType_FST_VT_MAX: fstVarType = 29;
pub type fstVarType = u32;
pub const fstVarDir_FST_VD_MIN: fstVarDir = 0;
pub const fstVarDir_FST_VD_IMPLICIT: fstVarDir = 0;
pub const fstVarDir_FST_VD_INPUT: fstVarDir = 1;
pub const fstVarDir_FST_VD_OUTPUT: fstVarDir = 2;
pub const fstVarDir_FST_VD_INOUT: fstVarDir = 3;
pub const fstVarDir_FST_VD_BUFFER: fstVarDir = 4;
pub const fstVarDir_FST_VD_LINKAGE: fstVarDir = 5;
pub const fstVarDir_FST_VD_MAX: fstVarDir = 5;
pub type fstVarDir = u32;
pub const fstHierType_FST_HT_MIN: fstHierType = 0;
pub const fstHierType_FST_HT_SCOPE: fstHierType = 0;
pub const fstHierType_FST_HT_UPSCOPE: fstHierType = 1;
pub const fstHierType_FST_HT_VAR: fstHierType = 2;
pub const fstHierType_FST_HT_ATTRBEGIN: fstHierType = 3;
pub const fstHierType_FST_HT_ATTREND: fstHierType = 4;
pub const fstHierType_FST_HT_MAX: fstHierType = 4;
pub type fstHierType = u32;
pub const fstAttrType_FST_AT_MIN: fstAttrType = 0;
pub const fstAttrType_FST_AT_MISC: fstAttrType = 0;
pub const fstAttrType_FST_AT_ARRAY: fstAttrType = 1;
pub const fstAttrType_FST_AT_ENUM: fstAttrType = 2;
pub const fstAttrType_FST_AT_PACK: fstAttrType = 3;
pub const fstAttrType_FST_AT_MAX: fstAttrType = 3;
pub type fstAttrType = u32;
pub const fstMiscType_FST_MT_MIN: fstMiscType = 0;
pub const fstMiscType_FST_MT_COMMENT: fstMiscType = 0;
pub const fstMiscType_FST_MT_ENVVAR: fstMiscType = 1;
pub const fstMiscType_FST_MT_SUPVAR: fstMiscType = 2;
pub const fstMiscType_FST_MT_PATHNAME: fstMiscType = 3;
pub const fstMiscType_FST_MT_SOURCESTEM: fstMiscType = 4;
pub const fstMiscType_FST_MT_SOURCEISTEM: fstMiscType = 5;
pub const fstMiscType_FST_MT_VALUELIST: fstMiscType = 6;
pub const fstMiscType_FST_MT_UNKNOWN: fstMiscType = 7;
pub const fstMiscType_FST_MT_MAX: fstMiscType = 7;
pub type fstMiscType = u32;
pub const fstArrayType_FST_AR_MIN: fstArrayType = 0;
pub const fstArrayType_FST_AR_NONE: fstArrayType = 0;
pub const fstArrayType_FST_AR_UNPACKED: fstArrayType = 1;
pub const fstArrayType_FST_AR_PACKED: fstArrayType = 2;
pub const fstArrayType_FST_AR_SPARSE: fstArrayType = 3;
pub const fstArrayType_FST_AR_MAX: fstArrayType = 3;
pub type fstArrayType = u32;
pub const fstEnumValueType_FST_EV_SV_INTEGER: fstEnumValueType = 0;
pub const fstEnumValueType_FST_EV_SV_BIT: fstEnumValueType = 1;
pub const fstEnumValueType_FST_EV_SV_LOGIC: fstEnumValueType = 2;
pub const fstEnumValueType_FST_EV_SV_INT: fstEnumValueType = 3;
pub const fstEnumValueType_FST_EV_SV_SHORTINT: fstEnumValueType = 4;
pub const fstEnumValueType_FST_EV_SV_LONGINT: fstEnumValueType = 5;
pub const fstEnumValueType_FST_EV_SV_BYTE: fstEnumValueType = 6;
pub const fstEnumValueType_FST_EV_SV_UNSIGNED_INTEGER: fstEnumValueType = 7;
pub const fstEnumValueType_FST_EV_SV_UNSIGNED_BIT: fstEnumValueType = 8;
pub const fstEnumValueType_FST_EV_SV_UNSIGNED_LOGIC: fstEnumValueType = 9;
pub const fstEnumValueType_FST_EV_SV_UNSIGNED_INT: fstEnumValueType = 10;
pub const fstEnumValueType_FST_EV_SV_UNSIGNED_SHORTINT: fstEnumValueType = 11;
pub const fstEnumValueType_FST_EV_SV_UNSIGNED_LONGINT: fstEnumValueType = 12;
pub const fstEnumValueType_FST_EV_SV_UNSIGNED_BYTE: fstEnumValueType = 13;
pub const fstEnumValueType_FST_EV_MAX: fstEnumValueType = 13;
pub type fstEnumValueType = u32;
pub const fstPackType_FST_PT_NONE: fstPackType = 0;
pub const fstPackType_FST_PT_UNPACKED: fstPackType = 1;
pub const fstPackType_FST_PT_PACKED: fstPackType = 2;
pub const fstPackType_FST_PT_TAGGED_PACKED: fstPackType = 3;
pub const fstPackType_FST_PT_MAX: fstPackType = 3;
pub type fstPackType = u32;
pub const fstSupplementalVarType_FST_SVT_MIN: fstSupplementalVarType = 0;
pub const fstSupplementalVarType_FST_SVT_NONE: fstSupplementalVarType = 0;
pub const fstSupplementalVarType_FST_SVT_VHDL_SIGNAL: fstSupplementalVarType = 1;
pub const fstSupplementalVarType_FST_SVT_VHDL_VARIABLE: fstSupplementalVarType = 2;
pub const fstSupplementalVarType_FST_SVT_VHDL_CONSTANT: fstSupplementalVarType = 3;
pub const fstSupplementalVarType_FST_SVT_VHDL_FILE: fstSupplementalVarType = 4;
pub const fstSupplementalVarType_FST_SVT_VHDL_MEMORY: fstSupplementalVarType = 5;
pub const fstSupplementalVarType_FST_SVT_MAX: fstSupplementalVarType = 5;
pub type fstSupplementalVarType = u32;
pub const fstSupplementalDataType_FST_SDT_MIN: fstSupplementalDataType = 0;
pub const fstSupplementalDataType_FST_SDT_NONE: fstSupplementalDataType = 0;
pub const fstSupplementalDataType_FST_SDT_VHDL_BOOLEAN: fstSupplementalDataType = 1;
pub const fstSupplementalDataType_FST_SDT_VHDL_BIT: fstSupplementalDataType = 2;
pub const fstSupplementalDataType_FST_SDT_VHDL_BIT_VECTOR: fstSupplementalDataType = 3;
pub const fstSupplementalDataType_FST_SDT_VHDL_STD_ULOGIC: fstSupplementalDataType = 4;
pub const fstSupplementalDataType_FST_SDT_VHDL_STD_ULOGIC_VECTOR: fstSupplementalDataType = 5;
pub const fstSupplementalDataType_FST_SDT_VHDL_STD_LOGIC: fstSupplementalDataType = 6;
pub const fstSupplementalDataType_FST_SDT_VHDL_STD_LOGIC_VECTOR: fstSupplementalDataType = 7;
pub const fstSupplementalDataType_FST_SDT_VHDL_UNSIGNED: fstSupplementalDataType = 8;
pub const fstSupplementalDataType_FST_SDT_VHDL_SIGNED: fstSupplementalDataType = 9;
pub const fstSupplementalDataType_FST_SDT_VHDL_INTEGER: fstSupplementalDataType = 10;
pub const fstSupplementalDataType_FST_SDT_VHDL_REAL: fstSupplementalDataType = 11;
pub const fstSupplementalDataType_FST_SDT_VHDL_NATURAL: fstSupplementalDataType = 12;
pub const fstSupplementalDataType_FST_SDT_VHDL_POSITIVE: fstSupplementalDataType = 13;
pub const fstSupplementalDataType_FST_SDT_VHDL_TIME: fstSupplementalDataType = 14;
pub const fstSupplementalDataType_FST_SDT_VHDL_CHARACTER: fstSupplementalDataType = 15;
pub const fstSupplementalDataType_FST_SDT_VHDL_STRING: fstSupplementalDataType = 16;
pub const fstSupplementalDataType_FST_SDT_MAX: fstSupplementalDataType = 16;
pub const fstSupplementalDataType_FST_SDT_SVT_SHIFT_COUNT: fstSupplementalDataType = 10;
pub const fstSupplementalDataType_FST_SDT_ABS_MAX: fstSupplementalDataType = 1023;
pub type fstSupplementalDataType = u32;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct fstHier {
    pub htyp: ::std::os::raw::c_uchar,
    pub u: fstHier__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union fstHier__bindgen_ty_1 {
    pub scope: fstHier__bindgen_ty_1_fstHierScope,
    pub var: fstHier__bindgen_ty_1_fstHierVar,
    pub attr: fstHier__bindgen_ty_1_fstHierAttr,
    _bindgen_union_align: [u64; 5usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct fstHier__bindgen_ty_1_fstHierScope {
    pub typ: ::std::os::raw::c_uchar,
    pub name: *const ::std::os::raw::c_char,
    pub component: *const ::std::os::raw::c_char,
    pub name_length: u32,
    pub component_length: u32,
}
#[test]
fn bindgen_test_layout_fstHier__bindgen_ty_1_fstHierScope() {
    assert_eq!(
        ::std::mem::size_of::<fstHier__bindgen_ty_1_fstHierScope>(),
        32usize,
        concat!("Size of: ", stringify!(fstHier__bindgen_ty_1_fstHierScope))
    );
    assert_eq!(
        ::std::mem::align_of::<fstHier__bindgen_ty_1_fstHierScope>(),
        8usize,
        concat!(
            "Alignment of ",
            stringify!(fstHier__bindgen_ty_1_fstHierScope)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierScope>())).typ as *const _ as usize
        },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierScope),
            "::",
            stringify!(typ)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierScope>())).name as *const _ as usize
        },
        8usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierScope),
            "::",
            stringify!(name)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierScope>())).component as *const _
                as usize
        },
        16usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierScope),
            "::",
            stringify!(component)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierScope>())).name_length as *const _
                as usize
        },
        24usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierScope),
            "::",
            stringify!(name_length)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierScope>())).component_length
                as *const _ as usize
        },
        28usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierScope),
            "::",
            stringify!(component_length)
        )
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct fstHier__bindgen_ty_1_fstHierVar {
    pub typ: ::std::os::raw::c_uchar,
    pub direction: ::std::os::raw::c_uchar,
    pub svt_workspace: ::std::os::raw::c_uchar,
    pub sdt_workspace: ::std::os::raw::c_uchar,
    pub sxt_workspace: ::std::os::raw::c_uint,
    pub name: *const ::std::os::raw::c_char,
    pub length: u32,
    pub handle: fstHandle,
    pub name_length: u32,
    pub is_alias: u8,
}
#[test]
fn bindgen_test_layout_fstHier__bindgen_ty_1_fstHierVar() {
    assert_eq!(
        ::std::mem::size_of::<fstHier__bindgen_ty_1_fstHierVar>(),
        32usize,
        concat!("Size of: ", stringify!(fstHier__bindgen_ty_1_fstHierVar))
    );
    assert_eq!(
        ::std::mem::align_of::<fstHier__bindgen_ty_1_fstHierVar>(),
        8usize,
        concat!(
            "Alignment of ",
            stringify!(fstHier__bindgen_ty_1_fstHierVar)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierVar>())).typ as *const _ as usize
        },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierVar),
            "::",
            stringify!(typ)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierVar>())).direction as *const _
                as usize
        },
        1usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierVar),
            "::",
            stringify!(direction)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierVar>())).svt_workspace as *const _
                as usize
        },
        2usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierVar),
            "::",
            stringify!(svt_workspace)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierVar>())).sdt_workspace as *const _
                as usize
        },
        3usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierVar),
            "::",
            stringify!(sdt_workspace)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierVar>())).sxt_workspace as *const _
                as usize
        },
        4usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierVar),
            "::",
            stringify!(sxt_workspace)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierVar>())).name as *const _ as usize
        },
        8usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierVar),
            "::",
            stringify!(name)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierVar>())).length as *const _ as usize
        },
        16usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierVar),
            "::",
            stringify!(length)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierVar>())).handle as *const _ as usize
        },
        20usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierVar),
            "::",
            stringify!(handle)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierVar>())).name_length as *const _
                as usize
        },
        24usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierVar),
            "::",
            stringify!(name_length)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierVar>())).is_alias as *const _
                as usize
        },
        28usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierVar),
            "::",
            stringify!(is_alias)
        )
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct fstHier__bindgen_ty_1_fstHierAttr {
    pub typ: ::std::os::raw::c_uchar,
    pub subtype: ::std::os::raw::c_uchar,
    pub name: *const ::std::os::raw::c_char,
    pub arg: u64,
    pub arg_from_name: u64,
    pub name_length: u32,
}
#[test]
fn bindgen_test_layout_fstHier__bindgen_ty_1_fstHierAttr() {
    assert_eq!(
        ::std::mem::size_of::<fstHier__bindgen_ty_1_fstHierAttr>(),
        40usize,
        concat!("Size of: ", stringify!(fstHier__bindgen_ty_1_fstHierAttr))
    );
    assert_eq!(
        ::std::mem::align_of::<fstHier__bindgen_ty_1_fstHierAttr>(),
        8usize,
        concat!(
            "Alignment of ",
            stringify!(fstHier__bindgen_ty_1_fstHierAttr)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierAttr>())).typ as *const _ as usize
        },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierAttr),
            "::",
            stringify!(typ)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierAttr>())).subtype as *const _
                as usize
        },
        1usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierAttr),
            "::",
            stringify!(subtype)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierAttr>())).name as *const _ as usize
        },
        8usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierAttr),
            "::",
            stringify!(name)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierAttr>())).arg as *const _ as usize
        },
        16usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierAttr),
            "::",
            stringify!(arg)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierAttr>())).arg_from_name as *const _
                as usize
        },
        24usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierAttr),
            "::",
            stringify!(arg_from_name)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<fstHier__bindgen_ty_1_fstHierAttr>())).name_length as *const _
                as usize
        },
        32usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1_fstHierAttr),
            "::",
            stringify!(name_length)
        )
    );
}
#[test]
fn bindgen_test_layout_fstHier__bindgen_ty_1() {
    assert_eq!(
        ::std::mem::size_of::<fstHier__bindgen_ty_1>(),
        40usize,
        concat!("Size of: ", stringify!(fstHier__bindgen_ty_1))
    );
    assert_eq!(
        ::std::mem::align_of::<fstHier__bindgen_ty_1>(),
        8usize,
        concat!("Alignment of ", stringify!(fstHier__bindgen_ty_1))
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fstHier__bindgen_ty_1>())).scope as *const _ as usize },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1),
            "::",
            stringify!(scope)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fstHier__bindgen_ty_1>())).var as *const _ as usize },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1),
            "::",
            stringify!(var)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fstHier__bindgen_ty_1>())).attr as *const _ as usize },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier__bindgen_ty_1),
            "::",
            stringify!(attr)
        )
    );
}
#[test]
fn bindgen_test_layout_fstHier() {
    assert_eq!(
        ::std::mem::size_of::<fstHier>(),
        48usize,
        concat!("Size of: ", stringify!(fstHier))
    );
    assert_eq!(
        ::std::mem::align_of::<fstHier>(),
        8usize,
        concat!("Alignment of ", stringify!(fstHier))
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fstHier>())).htyp as *const _ as usize },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier),
            "::",
            stringify!(htyp)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fstHier>())).u as *const _ as usize },
        8usize,
        concat!(
            "Offset of field: ",
            stringify!(fstHier),
            "::",
            stringify!(u)
        )
    );
}
extern "C" {
    pub fn fstWriterClose(ctx: *mut ::std::os::raw::c_void);
}
extern "C" {
    pub fn fstWriterCreate(
        nam: *const ::std::os::raw::c_char,
        use_compressed_hier: ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn fstWriterCreateVar(
        ctx: *mut ::std::os::raw::c_void,
        vt: fstVarType,
        vd: fstVarDir,
        len: u32,
        nam: *const ::std::os::raw::c_char,
        aliasHandle: fstHandle,
    ) -> fstHandle;
}
extern "C" {
    pub fn fstWriterCreateVar2(
        ctx: *mut ::std::os::raw::c_void,
        vt: fstVarType,
        vd: fstVarDir,
        len: u32,
        nam: *const ::std::os::raw::c_char,
        aliasHandle: fstHandle,
        type_: *const ::std::os::raw::c_char,
        svt: fstSupplementalVarType,
        sdt: fstSupplementalDataType,
    ) -> fstHandle;
}
extern "C" {
    pub fn fstWriterEmitValueChange(
        ctx: *mut ::std::os::raw::c_void,
        handle: fstHandle,
        val: *const ::std::os::raw::c_void,
    );
}
extern "C" {
    pub fn fstWriterEmitVariableLengthValueChange(
        ctx: *mut ::std::os::raw::c_void,
        handle: fstHandle,
        val: *const ::std::os::raw::c_void,
        len: u32,
    );
}
extern "C" {
    pub fn fstWriterEmitDumpActive(ctx: *mut ::std::os::raw::c_void, enable: ::std::os::raw::c_int);
}
extern "C" {
    pub fn fstWriterEmitTimeChange(ctx: *mut ::std::os::raw::c_void, tim: u64);
}
extern "C" {
    pub fn fstWriterFlushContext(ctx: *mut ::std::os::raw::c_void);
}
extern "C" {
    pub fn fstWriterGetDumpSizeLimitReached(
        ctx: *mut ::std::os::raw::c_void,
    ) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn fstWriterGetFseekFailed(ctx: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn fstWriterSetAttrBegin(
        ctx: *mut ::std::os::raw::c_void,
        attrtype: fstAttrType,
        subtype: ::std::os::raw::c_int,
        attrname: *const ::std::os::raw::c_char,
        arg: u64,
    );
}
extern "C" {
    pub fn fstWriterSetAttrEnd(ctx: *mut ::std::os::raw::c_void);
}
extern "C" {
    pub fn fstWriterSetComment(
        ctx: *mut ::std::os::raw::c_void,
        comm: *const ::std::os::raw::c_char,
    );
}
extern "C" {
    pub fn fstWriterSetDate(ctx: *mut ::std::os::raw::c_void, dat: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn fstWriterSetDumpSizeLimit(ctx: *mut ::std::os::raw::c_void, numbytes: u64);
}
extern "C" {
    pub fn fstWriterSetEnvVar(
        ctx: *mut ::std::os::raw::c_void,
        envvar: *const ::std::os::raw::c_char,
    );
}
extern "C" {
    pub fn fstWriterSetFileType(ctx: *mut ::std::os::raw::c_void, filetype: fstFileType);
}
extern "C" {
    pub fn fstWriterSetPackType(ctx: *mut ::std::os::raw::c_void, typ: fstWriterPackType);
}
extern "C" {
    pub fn fstWriterSetParallelMode(
        ctx: *mut ::std::os::raw::c_void,
        enable: ::std::os::raw::c_int,
    );
}
extern "C" {
    pub fn fstWriterSetRepackOnClose(
        ctx: *mut ::std::os::raw::c_void,
        enable: ::std::os::raw::c_int,
    );
}
extern "C" {
    pub fn fstWriterSetScope(
        ctx: *mut ::std::os::raw::c_void,
        scopetype: fstScopeType,
        scopename: *const ::std::os::raw::c_char,
        scopecomp: *const ::std::os::raw::c_char,
    );
}
extern "C" {
    pub fn fstWriterSetSourceInstantiationStem(
        ctx: *mut ::std::os::raw::c_void,
        path: *const ::std::os::raw::c_char,
        line: ::std::os::raw::c_uint,
        use_realpath: ::std::os::raw::c_uint,
    );
}
extern "C" {
    pub fn fstWriterSetSourceStem(
        ctx: *mut ::std::os::raw::c_void,
        path: *const ::std::os::raw::c_char,
        line: ::std::os::raw::c_uint,
        use_realpath: ::std::os::raw::c_uint,
    );
}
extern "C" {
    pub fn fstWriterSetTimescale(ctx: *mut ::std::os::raw::c_void, ts: ::std::os::raw::c_int);
}
extern "C" {
    pub fn fstWriterSetTimescaleFromString(
        ctx: *mut ::std::os::raw::c_void,
        s: *const ::std::os::raw::c_char,
    );
}
extern "C" {
    pub fn fstWriterSetTimezero(ctx: *mut ::std::os::raw::c_void, tim: i64);
}
extern "C" {
    pub fn fstWriterSetUpscope(ctx: *mut ::std::os::raw::c_void);
}
extern "C" {
    pub fn fstWriterSetValueList(
        ctx: *mut ::std::os::raw::c_void,
        vl: *const ::std::os::raw::c_char,
    );
}
extern "C" {
    pub fn fstWriterSetVersion(
        ctx: *mut ::std::os::raw::c_void,
        vers: *const ::std::os::raw::c_char,
    );
}
extern "C" {
    pub fn fstReaderClose(ctx: *mut ::std::os::raw::c_void);
}
extern "C" {
    pub fn fstReaderClrFacProcessMask(ctx: *mut ::std::os::raw::c_void, facidx: fstHandle);
}
extern "C" {
    pub fn fstReaderClrFacProcessMaskAll(ctx: *mut ::std::os::raw::c_void);
}
extern "C" {
    pub fn fstReaderGetAliasCount(ctx: *mut ::std::os::raw::c_void) -> u64;
}
extern "C" {
    pub fn fstReaderGetCurrentFlatScope(
        ctx: *mut ::std::os::raw::c_void,
    ) -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn fstReaderGetCurrentScopeUserInfo(
        ctx: *mut ::std::os::raw::c_void,
    ) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn fstReaderGetCurrentScopeLen(ctx: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn fstReaderGetDateString(
        ctx: *mut ::std::os::raw::c_void,
    ) -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn fstReaderGetDoubleEndianMatchState(
        ctx: *mut ::std::os::raw::c_void,
    ) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn fstReaderGetDumpActivityChangeTime(ctx: *mut ::std::os::raw::c_void, idx: u32) -> u64;
}
extern "C" {
    pub fn fstReaderGetDumpActivityChangeValue(
        ctx: *mut ::std::os::raw::c_void,
        idx: u32,
    ) -> ::std::os::raw::c_uchar;
}
extern "C" {
    pub fn fstReaderGetEndTime(ctx: *mut ::std::os::raw::c_void) -> u64;
}
extern "C" {
    pub fn fstReaderGetFacProcessMask(
        ctx: *mut ::std::os::raw::c_void,
        facidx: fstHandle,
    ) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn fstReaderGetFileType(ctx: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn fstReaderGetFseekFailed(ctx: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn fstReaderGetMaxHandle(ctx: *mut ::std::os::raw::c_void) -> fstHandle;
}
extern "C" {
    pub fn fstReaderGetMemoryUsedByWriter(ctx: *mut ::std::os::raw::c_void) -> u64;
}
extern "C" {
    pub fn fstReaderGetNumberDumpActivityChanges(ctx: *mut ::std::os::raw::c_void) -> u32;
}
extern "C" {
    pub fn fstReaderGetScopeCount(ctx: *mut ::std::os::raw::c_void) -> u64;
}
extern "C" {
    pub fn fstReaderGetStartTime(ctx: *mut ::std::os::raw::c_void) -> u64;
}
extern "C" {
    pub fn fstReaderGetTimescale(ctx: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_schar;
}
extern "C" {
    pub fn fstReaderGetTimezero(ctx: *mut ::std::os::raw::c_void) -> i64;
}
extern "C" {
    pub fn fstReaderGetValueChangeSectionCount(ctx: *mut ::std::os::raw::c_void) -> u64;
}
extern "C" {
    pub fn fstReaderGetValueFromHandleAtTime(
        ctx: *mut ::std::os::raw::c_void,
        tim: u64,
        facidx: fstHandle,
        buf: *mut ::std::os::raw::c_char,
    ) -> *mut ::std::os::raw::c_char;
}
extern "C" {
    pub fn fstReaderGetVarCount(ctx: *mut ::std::os::raw::c_void) -> u64;
}
extern "C" {
    pub fn fstReaderGetVersionString(
        ctx: *mut ::std::os::raw::c_void,
    ) -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn fstReaderIterateHier(ctx: *mut ::std::os::raw::c_void) -> *mut fstHier;
}
extern "C" {
    pub fn fstReaderIterateHierRewind(ctx: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn fstReaderIterBlocks(
        ctx: *mut ::std::os::raw::c_void,
        value_change_callback: ::std::option::Option<
            unsafe extern "C" fn(
                user_callback_data_pointer: *mut ::std::os::raw::c_void,
                time: u64,
                facidx: fstHandle,
                value: *const ::std::os::raw::c_uchar,
            ),
        >,
        user_callback_data_pointer: *mut ::std::os::raw::c_void,
        vcdhandle: *mut FILE,
    ) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn fstReaderIterBlocks2(
        ctx: *mut ::std::os::raw::c_void,
        value_change_callback: ::std::option::Option<
            unsafe extern "C" fn(
                user_callback_data_pointer: *mut ::std::os::raw::c_void,
                time: u64,
                facidx: fstHandle,
                value: *const ::std::os::raw::c_uchar,
            ),
        >,
        value_change_callback_varlen: ::std::option::Option<
            unsafe extern "C" fn(
                user_callback_data_pointer: *mut ::std::os::raw::c_void,
                time: u64,
                facidx: fstHandle,
                value: *const ::std::os::raw::c_uchar,
                len: u32,
            ),
        >,
        user_callback_data_pointer: *mut ::std::os::raw::c_void,
        vcdhandle: *mut FILE,
    ) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn fstReaderIterBlocksSetNativeDoublesOnCallback(
        ctx: *mut ::std::os::raw::c_void,
        enable: ::std::os::raw::c_int,
    );
}
extern "C" {
    pub fn fstReaderOpen(nam: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn fstReaderOpenForUtilitiesOnly() -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn fstReaderPopScope(ctx: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn fstReaderProcessHier(
        ctx: *mut ::std::os::raw::c_void,
        vcdhandle: *mut FILE,
    ) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn fstReaderPushScope(
        ctx: *mut ::std::os::raw::c_void,
        nam: *const ::std::os::raw::c_char,
        user_info: *mut ::std::os::raw::c_void,
    ) -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn fstReaderResetScope(ctx: *mut ::std::os::raw::c_void);
}
extern "C" {
    pub fn fstReaderSetFacProcessMask(ctx: *mut ::std::os::raw::c_void, facidx: fstHandle);
}
extern "C" {
    pub fn fstReaderSetFacProcessMaskAll(ctx: *mut ::std::os::raw::c_void);
}
extern "C" {
    pub fn fstReaderSetLimitTimeRange(
        ctx: *mut ::std::os::raw::c_void,
        start_time: u64,
        end_time: u64,
    );
}
extern "C" {
    pub fn fstReaderSetUnlimitedTimeRange(ctx: *mut ::std::os::raw::c_void);
}
extern "C" {
    pub fn fstReaderSetVcdExtensions(
        ctx: *mut ::std::os::raw::c_void,
        enable: ::std::os::raw::c_int,
    );
}