Please provide a link to any Confederate Army table of organization listing a unit with African-American soldiers.
Because they were not technically allowed to serve, they were not usually listed on any tables as soldiers. They were listed as manservants, cooks, and etc. regardless of the fact that many also carried rifles.
I reccomend that you read “Black Confederates” by Charles Barrow and “Black Southerners in Gray: Essays on Afro-Americans in the Confederate Armies” by Richard Rollins. Educate yourself please and quit doing a disservice to Confederates of colour.